PageSourceSearch

https://samvikresearch.com/_next/static/chunks/0adw7ou.dhw.-.js

js samvikresearch.com collected 2026-10-09 23:20:15 UTC 14,351 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69638,e=>{"use strict";let t=(0,e.i(75254).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",0,t],69638)},87789,e=>{"use strict";let t=["bg-primary","bg-[hsl(var(--accent-ink))]","bg-accent"];e.s(["accentFor",0,e=>t[e%t.length]])},14764,e=>{"use strict";let t=(0,e.i(75254).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],14764)},93479,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(75157);let i=s.forwardRef((e,s)=>{let{className:i,type:r,...l}=e;return(0,t.jsx)("input",{type:r,className:(0,a.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder: focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",i),ref:s,...l})});i.displayName="Input",e.s(["Input",0,i])},37801,e=>{"use strict";e.s(["normalizeIndianPhone",0,function(e){if(!e)return null;let t=String(e).replace(/\D/g,"");return t&&(13===t.length&&t.startsWith("091")?t=t.slice(3):12===t.length&&t.startsWith("91")?t=t.slice(2):11===t.length&&t.startsWith("0")&&(t=t.slice(1)),10===t.length&&/^[6-9]/.test(t))?t:null}])},4444,e=>{"use strict";var t=e.i(68403),s=e.i(37801);let a=async e=>{let a;if(!e.name||!e.email)return{success:!1,error:"Name and email are required"};if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email))return{success:!1,error:"Please enter a valid email address"};if(void 0!==e.phone&&""!==e.phone){let t=(0,s.normalizeIndianPhone)(e.phone);if(!t)return{success:!1,error:"Please enter a valid 10-digit mobile number."};a=t}let i=e.utm;if(!i)try{i=(0,t.getUtmData)()}catch{i=void 0}let r={...e,phone:a??e.phone,utm:i};for(let e=1;e<=2;e++)try{let e=new AbortController,t=setTimeout(()=>e.abort(),15e3),s=await fetch("/api/send-email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r),signal:e.signal});if(clearTimeout(t),!s.ok){let e=await s.json().catch(()=>({}));throw Error(e.error||"Failed to submit form")}let a=await s.json();return{success:!0,message:a.message||"Form submitted successfully",id:a.id}}catch(t){if(console.error(`Form submission attempt ${e} failed:`,t),e<2){await new Promise(e=>setTimeout(e,1e3));continue}if(t instanceof Error&&"AbortError"===t.name)return{success:!1,error:"Request timed out. Please try again."};return{success:!1,error:t instanceof Error?t.message:"An unexpected error occurred. Please try again."}}return{success:!1,error:"An unexpected error occurred"}};e.s(["submitContactForm",0,a])},24687,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(75157);let i=s.forwardRef((e,s)=>{let{className:i,...r}=e;return(0,t.jsx)("textarea",{className:(0,a.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder: focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",i),ref:s,...r})});i.displayName="Textarea",e.s(["Textarea",0,i])},88091,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(33485),i=e.i(19455),r=e.i(93479),l=e.i(24687),n=e.i(43432),d=e.i(63488),o=e.i(46897),c=e.i(3116),m=e.i(94983),x=e.i(14764),h=e.i(69638),u=e.i(4444),p=e.i(19477),g=e.i(87789);let b=[{icon:n.Phone,title:"Phone",details:["+91 8979173927"]},{icon:d.Mail,title:"Email",details:["[email protected]","[email protected]"]},{icon:o.MapPin,title:"Office",details:["Ground floor Govind plaza Dhorera","Mathura Vrindavan road, 281003"]},{icon:c.Clock,title:"Hours",details:["Mon - Sat: 9AM - 7PM","Sunday: Closed"]}];e.s(["ContactPageContent",0,function(){let{settings:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=e&&e.id?[{icon:n.Phone,title:"Phone",details:[e.phone_primary,e.phone_secondary].filter(Boolean)},{icon:d.Mail,title:"Email",details:[e.email_primary,e.email_secondary].filter(Boolean)},{icon:o.MapPin,title:"Office",details:e.address?e.address.split("\n"):b[2].details},{icon:c.Clock,title:"Hours",details:["Mon - Sat: 9AM - 7PM","Sunday: Closed"]}]:b,[v,y]=(0,s.useState)({name:"",email:"",phone:"",subject:"",message:""}),[j,w]=(0,s.useState)(""),[N,k]=(0,s.useState)(!1),[C,S]=(0,s.useState)(!1),[P,M]=(0,s.use
1State)(null),T=async e=>{e.preventDefault(),k(!0),M(null);let t=v.name.split(" "),s=t[0]||"",a=t.slice(1).join(" ")||"",i=(0,p.trackContactFormSubmit)(v.email,v.phone,s,a,window.location.href),r=await (0,u.submitContactForm)({name:v.name,email:v.email,phone:v.phone,subject:v.subject,message:v.message,source:"Contact Page",_honeypot:j,event_id:i.eventId,event_time:i.eventTime,fbc:i.fbc||void 0,fbp:i.fbp||void 0});k(!1),r.success?S(!0):M(r.error||"Something went wrong. Please try again.")};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"section-deep pt-24 md:pt-32 pb-20 md:pb-24 relative overflow-hidden",children:(0,t.jsx)("div",{className:"container mx-auto px-4 relative z-10",children:(0,t.jsxs)(a.motion.div,{className:"max-w-3xl mx-auto text-center",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{type:"spring",stiffness:100},children:[(0,t.jsx)("div",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.12em] text-secondary mb-4 md:mb-5",children:"Get In Touch"}),(0,t.jsxs)("h1",{className:"text-3xl md:text-5xl lg:text-6xl font-bold tracking-tight mb-4 md:mb-6",children:["Contact ",(0,t.jsx)("span",{className:"text-secondary",children:"Us"})]}),(0,t.jsx)("p",{className:"text-base md:text-lg lg:text-xl max-w-2xl mx-auto",children:"Ready to start your research journey? Reach out for a free consultation."})]})})}),(0,t.jsx)("section",{className:"section-tint py-6 md:py-12 relative overflow-hidden",children:(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 md:gap-4",children:f.map((e,s)=>{let i=e.icon;return(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*s},className:"bg-card border border-border rounded-xl md:rounded-lg p-4 md:p-6 hover:shadow-xl transition-all group cursor-pointer",children:[(0,t.jsx)("div",{className:`w-10 h-10 md:w-12 md:h-12 ${(0,g.accentFor)(s)} rounded-lg md:rounded-xl flex items-center justify-center mb-3 md:mb-4 transition-transform duration-200 shadow-lg`,children:(0,t.jsx)(i,{className:"w-5 h-5 md:w-6 md:h-6 text-white"})}),(0,t.jsx)("h3",{className:"font-bold text-sm md:text-lg mb-1 md:mb-2",children:e.title}),"Phone"===e.title?e.details.map((e,s)=>(0,t.jsx)("a",{id:`contact-page-tel-${s}`,href:`tel:${e.replace(/\s+/g,"")}`,className:"text-xs md:text-sm hover:text-primary block",children:e},s)):"Office"===e.title?(0,t.jsx)("a",{href:"https://maps.google.com/?q=Samvik+Research+Solutions+Govind+plaza+Dhorera+Mathura+281003",target:"_blank",rel:"noopener noreferrer",className:"text-xs md:text-sm hover:text-primary",children:e.details.map((e,s)=>(0,t.jsxs)("span",{className:"block",children:[e,(0,t.jsx)("br",{})]},s))}):"Email"===e.title?(0,t.jsx)("div",{className:"flex flex-col",children:e.details.map((e,s)=>(0,t.jsx)("a",{href:`mailto:${e}`,className:"text-xs md:text-sm hover:text-primary py-2 block",children:e},s))}):(0,t.jsx)("div",{className:"flex flex-col",children:e.details.map((e,s)=>(0,t.jsx)("span",{className:"text-xs md:text-sm",children:e},s))})]},e.title)})})})}),(0,t.jsxs)("section",{className:"section-plain py-8 md:py-16 relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden"}),(0,t.jsx)("div",{className:"container mx-auto px-4 relative z-10",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-6 md:gap-12 items-start",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{type:"spring",stiffness:100},className:"bg-card border border-border rounded-xl md:rounded-lg p-4 md:p-6 lg:p-8 shadow-lg",children:[(0,t.jsx)("h2",{className:"text-xl md:text-2xl font-bold mb-1 md:mb-2",children:"Send Us a Message"}),(0,t.jsx)("p",{className:"text-sm md:text-base mb-4 md:mb-8",children:"We'll get back to you within 24 hours."}),C?(0,t.jsxs)(a.motion.div,{className:"text-center py-8 md:py-12",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{type:"spring",stiffness:100},children:[(0,t.jsx)("div",{className:"w-16 h-16 md:w-20 md:h-20 bg-[hsl(var(--success))] rounded-full flex items-center justify-center mx-auto mb-4 md:mb-6 shadow-lg",children:(0,t.jsx)(h.CheckCircle,{className:"w-8 h-8 md:w-10 md:h-10 text-white"})}),(0,t.jsx)("h3",{className:"text-xl md:text-2xl font-bold mb-2",children:"Message Sent!"}),(0,t.jsx)("p",{className:"text-sm md:text-base mb-4 md:mb-6",children:"Our team will c
1ontact you shortly."}),(0,t.jsx)(i.Button,{onClick:()=>S(!1),variant:"outline",className:"rounded-xl text-sm md:text-base",children:"Send Another Message"})]}):(0,t.jsxs)("form",{id:"contact-page-form",onSubmit:T,className:"space-y-4 md:space-y-6",children:[(0,t.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:"-9999px",opacity:0,height:0,overflow:"hidden"},children:(0,t.jsx)("input",{type:"text",name:"confirm_ref_id",tabIndex:-1,autoComplete:"new-password",value:j,onChange:e=>w(e.target.value)})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 md:gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs md:text-sm font-medium mb-1.5 md:mb-2",children:"Full Name"}),(0,t.jsx)(r.Input,{placeholder:"Your name",value:v.name,onChange:e=>y({...v,name:e.target.value}),className:"rounded-lg md:rounded-xl bg-card text-sm md:text-base",required:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs md:text-sm font-medium mb-1.5 md:mb-2",children:"Email"}),(0,t.jsx)(r.Input,{type:"email",placeholder:"[email protected]",value:v.email,onChange:e=>y({...v,email:e.target.value}),className:"rounded-lg md:rounded-xl bg-card text-sm md:text-base",required:!0})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 md:gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs md:text-sm font-medium mb-1.5 md:mb-2",children:"Phone"}),(0,t.jsx)(r.Input,{placeholder:"+91 8979173927",value:v.phone,onChange:e=>y({...v,phone:e.target.value}),className:"rounded-lg md:rounded-xl bg-card text-sm md:text-base"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs md:text-sm font-medium mb-1.5 md:mb-2",children:"Subject"}),(0,t.jsx)(r.Input,{placeholder:"How can we help?",value:v.subject,onChange:e=>y({...v,subject:e.target.value}),className:"rounded-lg md:rounded-xl bg-card text-sm md:text-base",required:!0})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs md:text-sm font-medium mb-1.5 md:mb-2",children:"Message"}),(0,t.jsx)(l.Textarea,{placeholder:"Tell us about your research requirements...",value:v.message,onChange:e=>y({...v,message:e.target.value}),rows:4,className:"rounded-lg md:rounded-xl bg-card text-sm md:text-base",required:!0})]}),P&&(0,t.jsx)("p",{className:"text-red-500 text-sm text-center",children:P}),(0,t.jsx)(a.motion.div,{whileHover:{scale:1.03},whileTap:{scale:.97},children:(0,t.jsx)(i.Button,{type:"submit",id:"contact-page-submit",size:"lg",className:"w-full rounded-lg md:rounded-xl shadow-lg text-sm md:text-base",disabled:N,children:N?(0,t.jsx)(t.Fragment,{children:"Sending..."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Send,{className:"w-4 h-4 md:w-5 md:h-5 mr-2"}),"Send Message"]})})})]})]}),(0,t.jsxs)("div",{className:"space-y-4 md:space-y-6",children:[(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{type:"spring",stiffness:100},className:"bg-card border border-border rounded-xl md:rounded-lg overflow-hidden shadow-lg",children:(0,t.jsx)("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1971.1699685089538!2d77.67183691965984!3d27.542586286454537!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x397371b7d36e5569%3A0x95fbbd64db623dd5!2sGovind%20plaza!5e0!3m2!1sen!2sin!4v1772381925695!5m2!1sen!2sin",width:"100%",height:"200",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"md:h-[300px]"})}),(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{type:"spring",stiffness:100,delay:.1},className:"bg-[hsl(var(--success))] rounded-xl md:rounded-lg p-4 md:p-8 text-white shadow-xl",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 md:gap-4 mb-3 md:mb-4",children:[(0,t.jsx)("div",{className:"w-12 h-12 md:w-14 md:h-14 bg-white/20 rounded-xl md:rounded-lg flex items-center justify-center",children:(0,t.jsx)(m.MessageCircle,{className:"w-6 h-6 md:w-7 md:h-7"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg md:text-xl font-bold",children:"Prefer WhatsApp?"}),(0,t.jsx)("p",{className:"text-white/80 text-xs md:text-sm",children:"Get instant response"})]})]}),(0,t.jsx)("p",{className:"text-white/80 text-sm md:text-base mb-4 md:mb-6",children:"Chat directly on WhatsApp. We respond within minutes!"}),(0,t.jsxs)(a.motion.a,{id:"contact-page-whatsapp",href:"https://wa.me/918979173927?text=Hello%20Samvik%20Research%20Solutions,%20I%20would%20like%20to%20know%20more%20about%20your%20services.",target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,p.trackWhatsAppClick)("contact_page"),className:"inline-flex items-center gap-2 bg-card text-green-600 font-bold px-6 md:px-8 py-3 md:py-4 rounded-lg md:rounded-xl hover:bg-card transition-colors shadow-lg text-sm md:text-base cursor-pointer",whileHover:{scale:1.03},whileTap:{scale:.97},children:[(0,t.jsx)(m.MessageCircle,{className:"w-4 h-4 md:w-5 md:h-5"}),"Chat on WhatsApp"]})]})]})]})})]})]})}])}]);

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.