PageSourceSearch

https://ghl-india-ventures-2025.netlify.app/_next/static/chunks/3654-f44e77a999525c0c.js

js ghl-india-ventures-2025.netlify.app collected 2026-10-03 10:50:22 UTC 13,000 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3654],{77331:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(57437),r=n(81175);function s(e){let{children:t,className:n="",delay:s=0,direction:i="up"}=e,{ref:l,isVisible:c}=(0,r.S1)(.1);return(0,a.jsx)("div",{ref:l,className:"transition-all duration-700 ease-out ".concat(c?"opacity-100 translate-x-0 translate-y-0":"opacity-0 ".concat({up:"translate-y-8",left:"-translate-x-8",right:"translate-x-8",fade:"translate-y-0"}[i])," ").concat(n),style:{transitionDelay:"".concat(s,"ms")},children:t})}},98430:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(57437),r=n(2265),s=n(27648),i=n(13314),l=n(65302),c=n(44743),d=n(34391);function o(){let[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),[u,m]=(0,r.useState)(""),[h,x]=(0,r.useState)({name:"",email:"",phone:"",city:"",inquiryType:"",investmentRange:"",contactMethod:"Phone",message:"",accredited:!1,privacy:!1}),p=async e=>{e.preventDefault(),m(""),o(!0);try{let[e,n]=await Promise.all([(0,i.submitContactForm)({formType:h.inquiryType||"contact",fullName:h.name,email:h.email,phone:h.phone,city:h.city,message:h.message,investmentRange:h.investmentRange,investmentInterest:h.inquiryType,pageUrl:window.location.href}),(0,i.submitLead)({firstName:h.name.split(" ")[0]||"",lastName:h.name.split(" ").slice(1).join(" ")||"",email:h.email,phone:h.phone,city:h.city,source:"website",investmentInterest:h.inquiryType,investmentRange:h.investmentRange,message:h.message,contactMethod:h.contactMethod})]);if((null==e?void 0:e.success)||console.warn("[contact] contact_submissions write failed:",null==e?void 0:e.error),(null==n?void 0:n.success)||console.warn("[contact] leads write failed:",null==n?void 0:n.error),!(null==e?void 0:e.success)&&!(null==n?void 0:n.success)){m("Something went wrong. Please try again, or email [email protected].");return}t(!0),window.location.assign("/contact/thankyou/")}catch(e){console.warn("Form submission to Supabase failed:",e),m("Something went wrong. Please try again.")}finally{o(!1)}},b=(e,t)=>{x(n=>({...n,[e]:t}))};return(0,a.jsx)(a.Fragment,{children:e?(0,a.jsxs)("div",{className:"text-center py-16",children:[(0,a.jsxs)("div",{className:"relative w-20 h-20 mx-auto mb-6",children:[(0,a.jsx)("div",{className:"absolute inset-0 rounded-full bg-green-100 animate-ping opacity-30"}),(0,a.jsx)("div",{className:"relative w-20 h-20 rounded-full bg-green-100 flex items-center justify-center",children:(0,a.jsx)(l.Z,{className:"w-10 h-10 text-green-600"})})]}),(0,a.jsx)("h3",{className:"text-2xl font-bold text-brand-black dark:text-white mb-3",children:"Thank You!"}),(0,a.jsx)("p",{className:"text-brand-grey dark:text-gray-300 mb-2 max-w-md mx-auto",children:"Your consultation request has been received. Our investment team will reach out within 24–48 business hours."}),(0,a.jsxs)("p",{className:"text-sm text-brand-grey dark:text-gray-300 mb-8",children:["In the meantime, explore our"," ",(0,a.jsx)(s.default,{href:"/downloads",className:"text-brand-red hover:underline",children:"downloads"})," ","or"," ",(0,a.jsx)(s.default,{href:"/fund",className:"text-brand-red hover:underline",children:"fund overview"}),"."]}),(0,a.jsx)("button",{onClick:()=>{t(!1),x({name:"",email:"",phone:"",city:"",inquiryType:"",investmentRange:"",contactMethod:"Phone",message:"",accredited:!1,privacy:!1})},className:"btn-outline-red",children:"Submit Another Inquiry"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-brand-black dark:text-white mb-2",children:"Request a Consultation"}),(0,a.jsx)("p",{className:"text-brand-grey dark:text-gray-300 text-sm mb-8",children:"Fill in your details and our team will schedule a call at your convenience."}),(0,a.jsxs)("form",{onSubmit:p,className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{htmlFor:"contact-name",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:["Full Name ",(0,a.jsx)("span",{className:"text-brand-red",children:"*"})]}),(0,a.jsx)("input",{id:"contact-name",type:"text",required:!0,className:"input-field",placeholder:"Your full legal name",value:h.name,onChange:e=>b("name",e.target.value)})]}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{htmlFor:"contact-email",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:["Email Address ",(0,a.jsx)("span",{className:"text-brand-red",children:"*"})]}),(0,a.jsx)("input",{id:"contact-email",type:"email",required:!0,className:"input-field",placeholder:"[email protected]",value:h.email,onChange:e=>b("email",e.target.value)})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{htmlFor:"contact-phone",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:["Phone Number ",(0,a.jsx)("span",{className:"text-brand-red",children:"*"})]}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-brand-grey dark:text-gray-300 text-sm font-medium",children:"+91"}),(0,a.jsx)("input",{id:"contact-phone",type:"tel",required:!0,maxLength:10,pattern:"[0-9]{10}",title:"Please enter a valid 10-digit mobile number",className:"input-field pl-14",placeholder:"XXXXX XXXXX",value:h.phone,onChange:e=>{b("phone",e.target.value.replace(/\D/g,"").slice(0,10))}})]})]})]}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-inquiry",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:"Inquiry Type"}),(0,a.jsxs)("select",{id:"contact-inquiry",className:"input-field",value:h.inquiryType,onCh
1ange:e=>b("inquiryType",e.target.value),children:[(0,a.jsx)("option",{value:"",children:"Select inquiry type"}),(0,a.jsx)("option",{value:"investment",children:"Investment Consultation"}),(0,a.jsx)("option",{value:"fund-info",children:"Fund Information"}),(0,a.jsx)("option",{value:"nri-investment",children:"NRI Investment"}),(0,a.jsx)("option",{value:"land-broker",children:"Land Broker"}),(0,a.jsx)("option",{value:"realty-broker",children:"Realty Broker"}),(0,a.jsx)("option",{value:"startup-funding",children:"Startup Funding"}),(0,a.jsx)("option",{value:"partnership",children:"Partnership Inquiry"}),(0,a.jsx)("option",{value:"general",children:"General Inquiry"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-city",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:"City of Residence"}),(0,a.jsx)("input",{id:"contact-city",type:"text",className:"input-field",placeholder:"e.g. Chennai, Mumbai",value:h.city,onChange:e=>b("city",e.target.value)})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-range",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:"Investment Amount Range"}),(0,a.jsxs)("select",{id:"contact-range",className:"input-field",value:h.investmentRange,onChange:e=>b("investmentRange",e.target.value),children:[(0,a.jsx)("option",{value:"",children:"Select a range"}),(0,a.jsxs)("option",{value:"under-1",children:["₹","Under 1 Cr"]}),(0,a.jsxs)("option",{value:"1-5",children:["₹","1 Cr – ","₹","5 Cr"]}),(0,a.jsxs)("option",{value:"5-10",children:["₹","5 Cr – ","₹","10 Cr"]}),(0,a.jsxs)("option",{value:"10-25",children:["₹","10 Cr – ","₹","25 Cr"]}),(0,a.jsxs)("option",{value:"25+",children:["₹","25 Cr+"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-brand-black dark:text-white mb-3",children:"Preferred Contact Method"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-6",children:["Phone","Email","WhatsApp"].map(e=>(0,a.jsxs)("label",{className:"flex items-center space-x-2 cursor-pointer group",children:[(0,a.jsx)("input",{type:"radio",name:"contactMethod",value:e,checked:h.contactMethod===e,onChange:e=>b("contactMethod",e.target.value),className:"w-4 h-4 text-brand-red border-gray-300 focus:ring-brand-red"}),(0,a.jsx)("span",{className:"text-sm text-brand-grey dark:text-gray-300 group-hover:text-brand-black dark:text-white transition-colors",children:e})]},e))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-message",className:"block text-sm font-medium text-brand-black dark:text-white mb-2",children:"Message"}),(0,a.jsx)("textarea",{id:"contact-message",rows:4,className:"input-field resize-none",placeholder:"Tell us about your investment goals or any questions you have...",value:h.message,onChange:e=>b("message",e.target.value)})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("label",{className:"flex items-start space-x-3 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:h.accredited,onChange:e=>b("accredited",e.target.checked),className:"w-4 h-4 text-brand-red rounded border-gray-300 mt-0.5 focus:ring-brand-red"}),(0,a.jsx)("span",{className:"text-sm text-brand-grey dark:text-gray-300",children:"I am an accredited / qualified investor as defined by SEBI regulations"})]}),(0,a.jsxs)("label",{className:"flex items-start space-x-3 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",required:!0,checked:h.privacy,onChange:e=>b("privacy",e.target.checked),className:"w-4 h-4 text-brand-red rounded border-gray-300 mt-0.5 focus:ring-brand-red"}),(0,a.jsxs)("span",{className:"text-sm text-brand-grey dark:text-gray-300",children:["I agree to the"," ",(0,a.jsx)(d.i,{type:"privacy",className:"text-brand-red hover:underline",children:"Privacy Policy"})," ","and consent to being contacted. ",(0,a.jsx)("span",{className:"text-brand-red",children:"*"})]})]})]}),u&&(0,a.jsx)("div",{className:"text-red-600 text-sm font-medium bg-red-50 border border-red-200 rounded-lg px-4 py-3",children:u}),(0,a.jsxs)("button",{type:"submit",disabled:n,className:"btn-primary w-full text-center disabled:opacity-60 disabled:cursor-not-allowed",children:[(0,a.jsx)(c.Z,{className:"w-4 h-4 mr-2"}),n?"Submitting...":"Request a Consultation"]})]})]})})}},81175:function(e,t,n){n.d(t,{$i:function(){return s},Qj:function(){return i},S1:function(){return r}});var a=n(2265);function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.1,t=(0,a.useRef)(null),[n,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let n=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&(r(!0),n.disconnect())},{threshold:e}),a=t.current;return a&&n.observe(a),()=>{a&&n.unobserve(a)}},[e]),{ref:t,isVisible:n}}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,[r,s]=(0,a.useState)(n),[i,l]=(0,a.useState)(!1);return{count:r,startCounting:(0,a.useCallback)(()=>
1{if(i)return;l(!0);let a=Date.now(),r=()=>{let i=Math.min((Date.now()-a)/t,1);s(Math.floor(n+(e-n)*(1-Math.pow(1-i,3)))),i<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t,n,i])}}function i(){let[e,t]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=()=>{let e=window.scrollY,n=document.documentElement.scrollHeight-window.innerHeight;t(n>0?e/n*100:0)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),e}},65302:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},91723:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},48736:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},84502:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]])},44743:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]])},88906:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},32489:function(e,t,n){n.d(t,{Z:function(){return a}});let a=(0,n(43664).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}}]);

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.