PageSourceSearch

https://thechennaimobiles.com/_next/static/chunks/pages/contact-us-6ccbc142571ce501.js

js thechennaimobiles.com collected 2026-09-26 21:38:00 UTC 15,438 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2649],{4084:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return s(14949)}])},14949:(e,a,s)=>{"use strict";s.r(a),s.d(a,{__N_SSP:()=>g,default:()=>v});var n=s(74848);s(81177);var l=s(53607),i=s(9603);s(13882),s(27162),s(63988),s(7211);var t=s(13368),o=s.n(t);s(91106);var r=s(40908),c=s(17857),d=s(86715),h=s(88299),m=s(96540),u=s(77037);let p=["General Inquiry","Product Support","Order / Delivery","Warranty / Service","Bulk / Corporate","Feedback / Suggestion","Other"],j=[{q:"How soon will I get a response?",a:"Our support team typically responds within 24 hours on business days."},{q:"Where are your stores located?",a:"We have 100+ showrooms across Tamil Nadu and Kerala. Use “Locate Stores” to find the nearest one."},{q:"Can I track my order?",a:"Yes — sign in and open “My Orders” to see live status and tracking details."},{q:"Do you offer EMI and exchange?",a:"Yes, we offer easy EMI, finance options and exchange on eligible products."}];function x(){let[e,a]=(0,m.useState)({name:"",mobile:"",email:"",subject:"",inquiryType:"",contactMethod:"Phone",message:"",agreed:!1}),[s,l]=(0,m.useState)(null),[i,t]=(0,m.useState)(!1),[o,r]=(0,m.useState)(!1),[c,d]=(0,m.useState)(null),[x,g]=(0,m.useState)(""),[v,b]=(0,m.useState)(0),y=e=>{let{name:s,value:n,type:l,checked:i}=e.target;a(e=>({...e,[s]:"checkbox"===l?i:n}))},f=async e=>{var a,s;let n=null===(a=e.target.files)||void 0===a?void 0:a[0];if(n){t(!0);try{let e=new FormData;e.append("media",n);let{data:a}=await h.A.post("/upload-media",e),i=null==a?void 0:null===(s=a.appData)||void 0===s?void 0:s.media_name;l({name:n.name,url:"".concat("https://api.thechennaimobiles.com","/").concat(i)})}catch(e){d("error"),g("Attachment upload failed. Please try a smaller file.")}finally{t(!1)}}},_=async n=>{if(n.preventDefault(),d(null),g(""),!/^[6-9]\d{9}$/.test(e.mobile.trim())){d("error"),g("Please enter a valid 10-digit mobile number.");return}if(!e.agreed){d("error"),g("Please agree to receive updates before submitting.");return}let i=[e.subject&&"Subject: ".concat(e.subject),e.inquiryType&&"Inquiry Type: ".concat(e.inquiryType),"Preferred Contact: ".concat(e.contactMethod),(null==s?void 0:s.url)&&"Attachment: ".concat(s.url),"",e.message].filter(e=>!1!==e&&null!=e).join("\n");r(!0);try{await h.A.post("/contact-us",{name:e.name,mobile:e.mobile,email:e.email,message:i}),d("success"),a({name:"",mobile:"",email:"",subject:"",inquiryType:"",contactMethod:"Phone",message:"",agreed:!1}),l(null)}catch(e){var t,o;d("error"),g((null==e?void 0:null===(o=e.response)||void 0===o?void 0:null===(t=o.data)||void 0===t?void 0:t.message)||"Something went wrong. Please check the fields and try again.")}finally{r(!1)}};return(0,n.jsxs)("div",{className:"contact-page",children:[(0,n.jsx)("div",{className:"contact-hero",children:(0,n.jsxs)("div",{className:"contact-container",children:[(0,n.jsx)("h1",{children:"Contact Us"}),(0,n.jsx)("p",{children:"We'd love to hear from you. Whether it's a question about a product, an order, or partnership — our team is here to help."}),(0,n.jsxs)("span",{className:"contact-response-pill",children:[(0,n.jsx)(u.obD,{})," We typically respond within 24 hours"]})]})}),(0,n.jsxs)("div",{className:"contact-container",children:[(0,n.jsxs)("div",{className:"contact-grid",children:[(0,n.jsxs)("div",{className:"contact-form-card",children:[(0,n.jsxs)("div",{className:"card-head",children:[(0,n.jsx)("h2",{children:"Send us a message"}),(0,n.jsx)("p",{children:"Fill in the details below and we'll get back to you shortly."})]}),"success"===c&&(0,n.jsx)("div",{className:"c-alert c-alert--success",children:"Thank you! Your message has been sent successfully. We'll be in touch soon."}),"error"===c&&(0,n.jsx)("div",{className:"c-alert c-alert--error",children:x}),(0,n.jsxs)("form",{onSubmit:_,noValidate:!0,children:[(0,n.jsxs)("div",{className:"c-row",children:[(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsxs)("label",{htmlFor:"name",children:["Full Name ",(0,n.jsx)("span",{className:"req",children:"*"})]}),(0,n.jsx)("input",{id:"name",name:"name",type:"text",placeholder:"John Doe",value:e.name,onChange:y,required:!0})]}),(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsxs)("label",{htmlFor:"mobile",children:["Mobile Number ",(0,n.jsx)("span",{className:"req",children:"*"})]}),(0,n.jsx)("input",{id:"mobile",name:"mobile",type:"tel",placeholder:"9876543210",value:e.mobile,onChange:y,required:!0})]})]}),(0,n.jsxs)("div",{className:"c-row",children:[(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsxs)("label",{htmlFor:"email",children:["Email Address ",(0,n.jsx)("span",{className:"req",children:"*"})]}),(0,n.jsx)("input",{id:"email",name:"email",type:"email",placeholder:"[email protected]",value:e.email,onChange:y,required:!0})]}),(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsx)("label",{htmlFor:"inquiryType",children:"Inquiry Type"}),(0,n.jsxs)("select",{id:"inquiryType",name:"inquiryType",value:e.inquiryType,onCh
1ange:y,children:[(0,n.jsx)("option",{value:"",children:"Select a topic"}),p.map(e=>(0,n.jsx)("option",{value:e,children:e},e))]})]})]}),(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsx)("label",{htmlFor:"subject",children:"Subject"}),(0,n.jsx)("input",{id:"subject",name:"subject",type:"text",placeholder:"How can we help?",value:e.subject,onChange:y})]}),(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsx)("label",{children:"Preferred Contact Method"}),(0,n.jsx)("div",{className:"c-radio-group",children:["Phone","Email"].map(a=>(0,n.jsxs)("label",{className:"c-radio ".concat(e.contactMethod===a?"is-active":""),children:[(0,n.jsx)("input",{type:"radio",name:"contactMethod",value:a,checked:e.contactMethod===a,onChange:y}),a]},a))})]}),(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsxs)("label",{htmlFor:"message",children:["Message ",(0,n.jsx)("span",{className:"req",children:"*"})]}),(0,n.jsx)("textarea",{id:"message",name:"message",rows:5,placeholder:"Write your message here...",value:e.message,onChange:y,required:!0})]}),(0,n.jsxs)("div",{className:"c-field",children:[(0,n.jsx)("label",{children:"Attachment (optional)"}),(0,n.jsxs)("label",{className:"c-file",children:[(0,n.jsx)("input",{type:"file",accept:"image/*,.pdf,.doc,.docx",onChange:f}),(0,n.jsx)("span",{children:i?"Uploading…":s?"Attached: ".concat(s.name):"Upload a resume or supporting document"})]})]}),(0,n.jsxs)("label",{className:"c-check",children:[(0,n.jsx)("input",{type:"checkbox",name:"agreed",checked:e.agreed,onChange:y}),(0,n.jsxs)("span",{children:["By clicking this box, you agree to receive updates from us by SMS, RCS, and email. ",(0,n.jsx)("span",{className:"req",children:"*"})]})]}),(0,n.jsxs)("button",{type:"submit",className:"c-submit",disabled:o||i,children:[o&&(0,n.jsx)("span",{className:"c-spinner"}),o?"Sending…":"Send Message"]})]})]}),(0,n.jsxs)("aside",{className:"contact-info-col",children:[(0,n.jsxs)("div",{className:"info-card",children:[(0,n.jsx)("h3",{children:"Get in touch"}),(0,n.jsxs)("ul",{className:"info-list",children:[(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:"info-ic",children:(0,n.jsx)(u.vq8,{})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Head Office"}),(0,n.jsx)("p",{children:"No. 666, Sakthi Road, GP Bus Stop, Gandhipuram, Coimbatore – 641012, Tamil Nadu, India"})]})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:"info-ic",children:(0,n.jsx)(u.dRU,{})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Phone"}),(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:"tel:+919944412345",children:"+91 99444 12345"})})]})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:"info-ic info-ic--wa",children:(0,n.jsx)(u.EcP,{})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"WhatsApp"}),(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:"https://wa.me/919944412345",target:"_blank",rel:"noreferrer",children:"Chat with us — +91 99444 12345"})})]})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:"info-ic",children:(0,n.jsx)(u.maD,{})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Email"}),(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})})]})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:"info-ic",children:(0,n.jsx)(u.obD,{})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Business Hours"}),(0,n.jsx)("p",{children:"Mon – Sat: 10:00 AM – 9:00 PM"}),(0,n.jsx)("p",{children:"Sunday: 10:00 AM – 8:00 PM"})]})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:"info-ic",children:(0,n.jsx)(u.Mu7,{})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Customer Support"}),(0,n.jsx)("p",{children:"Dedicated help for orders, service & warranty."})]})]})]}),(0,n.jsxs)("div",{className:"info-social",children:[(0,n.jsx)("span",{children:"Follow us"}),(0,n.jsxs)("div",{className:"info-social-icons",children:[(0,n.jsx)("a",{href:"https://www.facebook.com/TheChennaiMobile","aria-label":"Facebook",target:"_blank",rel:"noreferrer",children:(0,n.jsx)(u.ok6,{})}),(0,n.jsx)("a",{href:"https://www.instagram.com/thechennaimobiles?igsh=MXQwaHMyeHJveWthcw==","aria-label":"Instagram",target:"_blank",rel:"noreferrer",children:(0,n.jsx)(u.ao$,{})}),(0,n.jsx)("a",{href:"https://youtube.com/@thechennaimobiles?si=Mrf6lIQrUwewXcU6","aria-label":"YouTube",target:"_blank",rel:"noreferrer",children:(0,n.jsx)(u.Vk6,{})})]})]})]}),(0,n.jsx)("div",{className:"map-card",children:(0,n.jsx)("iframe",{title:"The Chennai Mobiles location",src:"https://maps.google.com/maps?q=Gandhipuram%2C%20Coimbatore&t=&z=14&ie=UTF8&iwloc=&output=embed",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]})]}),(0,n.jsxs)("div",{className:"why-grid",children:[(0,n.jsxs)("div",{className:"why-card",children:[(0,n.jsx)(u.Mu7,{className:"why-ic"}),(0,n.jsx)("h4",{children:"Expert Support"}),(0,n.jsx)("p",{children:"Get help from specialists who know our products inside out."})]}),(0,n.jsxs)("div",{className:"why-card",children:[(0,n.jsx)(u.obD,{className:"why-ic"}),(0,n.jsx)("h4",{children:"Fast Response"}),(0,n.jsx)("p",{children:"We reply within 24 hours on business days — often much sooner."})]}),(0,n.jsxs)("div",{className:"why-card",children:[(0,n.jsx)(u.vq8,{className:"why-ic"}),(0,n.jsx)("h4",{children:"100+ Showrooms"}),(0,n.jsx)("p",{children:"Prefer in person? Visit any of our stores across South India."})]})]}),(0,n.jsxs)("div",{className:"faq-section",children:[(0,n.jsx)("h2",{children:"Frequently Asked Questions"}),(0,n.jsx)("div",{className:"faq-list",children:j.map((e,a)=>(0,n.jsxs)("div",{className:"faq-item ".concat(v===a?"is-open":""),children:[(0,n.jsxs)("button",{type:"button",className:"faq-q",onClick:()=>b(v===a?-1:a),children:[e.q,(0,n.jsx)("span",{className:"faq-toggle",children:v===a?"–":"+"})]}),v===a&&(0,n.jsx)("p",{className:"faq-a",children:e.a})]},a))})]})]})]})}var g=!0;function v(e){let a=null==e?void 0:e.navData,s=(0,d.useRouter)(),t=c.Wf,h=(0,r.A)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:null==t?void 0:t.t
1itle}),(0,n.jsx)("link",{rel:"icon",href:"/title-logo.png"}),(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,n.jsx)("meta",{name:"description",content:"".concat(null==t?void 0:t.description)}),(0,n.jsx)("meta",{name:"keywords",content:null==t?void 0:t.keywords}),(0,n.jsx)("meta",{name:"og:title",content:null==t?void 0:t.og_title}),(0,n.jsx)("meta",{name:"og:description",content:null==t?void 0:t.og_description}),(0,n.jsx)("meta",{name:"language",content:null==t?void 0:t.language}),(0,n.jsx)("meta",{name:"robots",content:null==t?void 0:t.robots}),(0,n.jsx)("meta",{name:"og:type",content:null==t?void 0:t.og_type}),(0,n.jsx)("meta",{name:"author",content:null==t?void 0:t.author}),(0,n.jsx)("meta",{name:"og:url",content:"https://www.thechennaimobiles.com"}),(0,n.jsx)("meta",{name:"og:image",content:null==t?void 0:t.og_image}),(0,n.jsx)("meta",{property:"og:image:url",content:null==t?void 0:t.og_image_url}),(0,n.jsx)("meta",{name:"og:site_name",content:null==t?void 0:t.og_site_name}),(0,n.jsx)("meta",{name:"fb:page_id",content:null==t?void 0:t.fb_page_id}),(0,n.jsx)("meta",{name:"og:email",content:null==t?void 0:t.og_email}),(0,n.jsx)("meta",{name:"og:phone_number",content:null==t?void 0:t.og_phone}),(0,n.jsx)("meta",{name:"og:latitude",content:null==t?void 0:t.og_latitude}),(0,n.jsx)("meta",{name:"og:longitude",content:null==t?void 0:t.og_longitude}),(0,n.jsx)("meta",{name:"og:street-address",content:null==t?void 0:t.og_street_address}),(0,n.jsx)("meta",{name:"og:locality",content:null==t?void 0:t.og_locality}),(0,n.jsx)("meta",{name:"og:region",content:null==t?void 0:t.og_region}),(0,n.jsx)("meta",{name:"og:postal-code",content:null==t?void 0:t.og_postal_code}),(0,n.jsx)("meta",{name:"og:country-name",content:"India"}),(0,n.jsx)("meta",{name:"coverage",content:"Tamilnadu"}),(0,n.jsx)("meta",{name:"geo.placename",content:null==t?void 0:t.geo_placename}),(0,n.jsx)("meta",{name:"geo.region",content:null==t?void 0:t.geo_region}),(0,n.jsx)("meta",{name:"googlebot",content:null==t?void 0:t.google_bot}),(0,n.jsx)("meta",{name:"allow-search",content:"yes"}),(0,n.jsx)("link",{rel:"canonical",href:"https://www.thechennaimobiles.com/".concat(null==s?void 0:s.asPath)}),(0,n.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":null==t?void 0:t.publisher_link,name:null==t?void 0:t.og_site_name,url:null==t?void 0:t.og_url,logo:null==t?void 0:t.og_image_url,image:null==t?void 0:t.og_image_url,telephone:null==t?void 0:t.og_phone,address:{"@type":"PostalAddress",streetAddress:null==t?void 0:t.og_street_address,addressLocality:null==t?void 0:t.og_locality,addressRegion:null==t?void 0:t.og_region,postalCode:null==t?void 0:t.og_postal_code,addressCountry:"IN"},contactPoint:{"@type":"ContactPoint",telephone:null==t?void 0:t.og_phone,contactType:"customer support",areaServed:"IN",availableLanguage:["English","Tamil"]},sameAs:null==t?void 0:t.social_media_links},{"@type":"WebSite","@id":null==t?void 0:t.website_link,url:null==t?void 0:t.og_url,name:null==t?void 0:t.og_site_name,publisher:{"@id":null==t?void 0:t.publisher_link},potentialAction:{"@type":"SearchAction",target:"https://www.thechennaimobiles.com/search?q={search_term_string}","query-input":"required name=search_term_string"}}]})}),(0,n.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://www.thechennaimobiles.com","@type":"Organization",name:"The Chennai Mobiles",alternateName:null==t?void 0:t.alternateName,url:"https://www.thechennaimobiles.com/".concat(null==s?void 0:s.asPath),logo:null==t?void 0:t.og_image_url,sameAs:null==t?void 0:t.social_media_links})})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(i.A,{showSearchBar:h,menu:a}),(0,n.jsx)("div",{className:"appBorder",id:"appBorder",children:(0,n.jsx)(x,{})}),(0,n.jsx)("footer",{children:(0,n.jsx)(l.default,{menu:a})})]})]})}}},e=>{var a=a=>e(e.s=a);e.O(0,[5687,7690,7057,5354,7627,8563,7551,8758,5377,4765,3958,1544,3465,8808,7504,1294,7857,7638,5103,6833,7420,636,6593,8792],()=>a(4084)),_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.