PageSourceSearch

https://hearclear-rebuild-2.emergent.host/static/js/132.cc39f59a.chunk.js

js hearclear-rebuild-2.emergent.host collected 2026-10-03 03:22:24 UTC 14,241 bytes, 3 lines download raw bytes

1/*! For license information please see 132.cc39f59a.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[132],{23988(e,s,a){a.d(s,{A:()=>l});const l=(0,a(77784).A)("car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]])},60132(e,s,a){a.r(s),a.d(s,{default:()=>N});var l=a(65043),t=a(45029),n=a(53880),i=a(82706),c=a(91286),r=a(28006),d=a(75088),o=a(63944),x=a(28646);const m=(0,a(77784).A)("tram-front",[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m18 22-2-3",key:"1p0ohu"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}]]);var h=a(23988),u=a(7118),v=a(92382),p=a(42574),j=a(87975),g=a(13390),b=(a(41559),a(70579));function N(){var e,s,a,N,f,w,y,k,A,C;const{locationSlug:_}=(0,t.g)(),[z,H]=(0,l.useState)(null),[M,E]=(0,l.useState)(!0),[F,q]=(0,l.useState)(null);if((0,l.useEffect)(()=>{(async()=>{E(!0);try{const e=await j.nC.get("/seo/near-me-page/".concat(_));H(e.data)}catch(e){console.error("Error fetching near-me page:",e)}finally{E(!1)}})()},[_]),M)return(0,b.jsx)("div",{className:"min-h-screen bg-slate-50 flex items-center justify-center",children:(0,b.jsx)("div",{className:"animate-spin h-8 w-8 border-4 border-teal-600 border-t-transparent rounded-full"})});if(!z)return(0,b.jsx)("div",{className:"min-h-screen bg-slate-50 flex items-center justify-center",children:(0,b.jsxs)("div",{className:"text-center",children:[(0,b.jsx)("h1",{className:"text-2xl font-bold text-slate-900 mb-4",children:"Page Not Found"}),(0,b.jsx)(t.N_,{to:"/store-locator",className:"text-teal-600 hover:underline",children:"Find a Clinic Near You"})]})});const{primary_clinic:V}=z;return(0,b.jsxs)("div",{className:"min-h-screen bg-slate-50","data-testid":"near-me-page",children:[(0,b.jsxs)(n.mg,{children:[(0,b.jsx)("title",{children:z.title}),(0,b.jsx)("meta",{name:"description",content:z.meta_description}),(0,b.jsx)("link",{rel:"canonical",href:"https://hearclear.in".concat(z.url)}),(0,b.jsx)("script",{type:"application/ld+json",children:JSON.stringify(z.schema)})]}),(0,b.jsxs)("section",{className:"bg-gradient-to-br from-blue-700 via-blue-600 to-indigo-600 text-white py-16 relative overflow-hidden",children:[(0,b.jsx)("div",{className:"absolute inset-0 opacity-10",children:(0,b.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")"}})}),(0,b.jsx)("div",{className:"container mx-auto px-4 relative z-10",children:(0,b.jsxs)("div",{className:"max-w-4xl",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-blue-200 mb-4",children:[(0,b.jsx)(i.A,{className:"h-5 w-5"}),(0,b.jsx)("span",{children:"Find Us Easily"})]}),(0,b.jsx)("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:z.h1}),(0,b.jsx)("p",{className:"text-xl text-blue-100 mb-8 max-w-2xl",children:"Your trusted hearing care center, conveniently located near popular landmarks. Free hearing tests, expert audiologists, and all major hearing aid brands."}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,b.jsx)("a",{href:"https://www.google.com/maps/dir/?api=1&destination=".concat(null===V||void 0===V||null===(e=V.coordinates)||void 0===e?void 0:e.lat,",").concat(null===V||void 0===V||null===(s=V.coordinates)||void 0===s?void 0:s.lng),target:"_blank",rel:"noopener noreferrer",children:(0,b.jsxs)(g.$,{size:"lg",className:"bg-white text-blue-700 hover:bg-blue-50",children:[(0,b.jsx)(i.A,{className:"h-5 w-5 mr-2"}),"Get Directions"]})}),(0,b.jsx)("a",{href:"tel:".concat(null===V||void 0===V?void 0:V.phone),children:(0,b.jsxs)(g.$,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10",children:[(0,b.jsx)(c.A,{className:"h-5 w-5 mr-2"}),"Call Now"]})})]})]})})]}),(0,b.jsx)("section",{className:"py-8",children:(0,b.jsx)("div",{className:"container mx-auto px-4",children:(0,b.jsx)("div",{className:"bg-white rounded-2xl shadow-xl p-6 md:p-8 -mt-16 relative z-10 max-w-5xl mx-auto",children:(0,b.jsxs)("div",{className:"grid md:grid-cols-2 gap-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,b.jsx)("div",{className:"w-3 h-3 bg-green-500 rounded-full animate-pulse"}),(0,b.jsx)("span",{className:"text-green-600 font-medium",children:"Open Now"})]}),(0,b.jsx)("h2",{className:"text-2xl font-bold text-slate-900 mb-4",children:null===V||void 0===V?void 0:V.name}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex items-start gap-3",children:[(0,b.jsx)(r.A,{className:"h-5 w-5 text-blue-600 mt-1"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-slate-700",children:null===V||void 0===V?void 0:V.address}),(0,b.jsx)("p",{className:"text-sm text-slate-500 mt-1",children:null===V||void 0===V?void 0:V.distance_info})]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(d.A,{className:"h-5 w-5 text-blue-600"}),(0,b.jsx)("span",{className:"text-slate-700",children:null===V||void 0===V?void 0:V.hours})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(c.A,{className:"h-5 w-5 text-blue-600"}),(0,b.jsx)("a",{href:"tel:".concat(null===V||void 0===V?void 0:V.phone),className:"text-blue-600 font-medium hover:underline",children:null===V||void 0===V?void 0:V.phone})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(o.A,{className:"h-5 w-5 text-amber-500 fill-amber-500"}),(0,b.jsxs)("span",{className:"text-slate-700",children:[null===V||void 0===V?void 0:V.rating,"/5 (",null===V||void 0===V?void 0:V.review_count,"+ Google reviews)"]})]})]}),(0,b.jsxs)("div",{className:"mt-6 flex flex-wrap gap-3",children:[(0,b.jsx)(t.N_,{to:"/clinics/".concat(_),children:(0,b.jsx)(g.$,{variant:"outline",children:"View Full Details"})}),(0,b.jsx)(t.N_,{to:"/book-appointment",children:(0,b.jsxs)(g.$,{className:"bg-blue-600 hover:bg-blue-700",children:[(0,b.jsx)(x.A,{className:"h-4 w-4 mr-2"}),"Book Hearing Test"]})})]})]}),(0,b.jsx)("div",{className:"bg-slate-100 rounded-xl overflow-hidden h-64 md:h-auto",children:(0,b.jsx)("iframe",{title:"Map to ".concat(null===V||void 0===V?void 0:V.name),src:"https://www.google.com/maps/embed/v1/place?key=AIzaSyBFw0Qbyq9zTFTd-tUY6dZWTgaQzuU17R8&q=".concat(encodeURIComponent(null===V||void 0===V?void 0:V.address),"&zoom=15"),width:"100%",height:"100%",style:{border:0,minHeight:"250px"},allowFullScreen:"",loading:"lazy"})})]})})})}),(0,b.jsx)("section",{className:"py-12",children:(0,b.jsxs)("div",{className:"container mx-auto px-4",children:[(0,b.jsx)("h2",{className:"text-2xl font-bold text-slate-900 mb-8 text-center",children:"Nearby Landmarks"}),(0,b.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 ga
2p-4 max-w-4xl mx-auto",children:null===(a=z.landmarks)||void 0===a?void 0:a.map((e,s)=>(0,b.jsxs)("div",{className:"bg-white rounded-lg p-4 shadow-sm text-center hover:shadow-md transition-shadow",children:[(0,b.jsx)(r.A,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),(0,b.jsx)("p",{className:"font-medium text-slate-900 text-sm",children:e.name}),(0,b.jsx)("p",{className:"text-xs text-slate-500 mt-1",children:e.direction})]},s))})]})}),(0,b.jsx)("section",{className:"py-12 bg-white",children:(0,b.jsxs)("div",{className:"container mx-auto px-4",children:[(0,b.jsx)("h2",{className:"text-2xl font-bold text-slate-900 mb-8 text-center",children:"How to Reach Us"}),(0,b.jsxs)("div",{className:"grid md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:[(0,b.jsxs)("div",{className:"bg-slate-50 rounded-xl p-6",children:[(0,b.jsx)("div",{className:"w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:(0,b.jsx)(m,{className:"h-6 w-6 text-blue-600"})}),(0,b.jsx)("h3",{className:"font-bold text-slate-900 mb-2",children:"By Metro"}),(0,b.jsx)("p",{className:"text-slate-600 text-sm",children:null===(N=z.directions)||void 0===N?void 0:N.by_metro})]}),(0,b.jsxs)("div",{className:"bg-slate-50 rounded-xl p-6",children:[(0,b.jsx)("div",{className:"w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4",children:(0,b.jsx)(h.A,{className:"h-6 w-6 text-green-600"})}),(0,b.jsx)("h3",{className:"font-bold text-slate-900 mb-2",children:"By Car"}),(0,b.jsx)("p",{className:"text-slate-600 text-sm",children:null===(f=z.directions)||void 0===f?void 0:f.by_car})]}),(0,b.jsxs)("div",{className:"bg-slate-50 rounded-xl p-6",children:[(0,b.jsx)("div",{className:"w-12 h-12 bg-amber-100 rounded-full flex items-center justify-center mb-4",children:(0,b.jsx)(u.A,{className:"h-6 w-6 text-amber-600"})}),(0,b.jsx)("h3",{className:"font-bold text-slate-900 mb-2",children:"By Auto"}),(0,b.jsx)("p",{className:"text-slate-600 text-sm",children:null===(w=z.directions)||void 0===w?void 0:w.by_auto})]})]})]})}),z.nearby_clinics&&z.nearby_clinics.length>0&&(0,b.jsx)("section",{className:"py-12",children:(0,b.jsxs)("div",{className:"container mx-auto px-4",children:[(0,b.jsx)("h2",{className:"text-2xl font-bold text-slate-900 mb-8 text-center",children:"Other HearClear Clinics Nearby"}),(0,b.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-4 max-w-5xl mx-auto",children:z.nearby_clinics.map((e,s)=>(0,b.jsxs)(t.N_,{to:e.url,className:"bg-white rounded-lg p-4 shadow-sm hover:shadow-md transition-shadow block",children:[(0,b.jsx)("h3",{className:"font-medium text-slate-900",children:e.name}),(0,b.jsx)("p",{className:"text-sm text-slate-500 mt-1",children:e.area}),(0,b.jsx)("p",{className:"text-xs text-blue-600 mt-2",children:e.distance})]},s))})]})}),null===(y=z.content_sections)||void 0===y?void 0:y.map((e,s)=>(0,b.jsx)("section",{className:"py-12 ".concat(s%2===0?"bg-white":""),children:(0,b.jsx)("div",{className:"container mx-auto px-4",children:(0,b.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,b.jsx)("h2",{className:"text-2xl font-bold text-slate-900 mb-6",children:e.h2}),e.content&&(0,b.jsx)("p",{className:"text-slate-600 mb-6",children:e.content}),e.areas&&(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:e.areas.map((e,s)=>(0,b.jsx)("span",{className:"px-3 py-1 bg-blue-50 text-blue-700 rounded-full text-sm",children:e},s))}),e.points&&(0,b.jsx)("ul",{className:"space-y-3",children:e.points.map((e,s)=>(0,b.jsxs)("li",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"w-2 h-2 bg-blue-600 rounded-full"}),(0,b.jsx)("span",{className:"text-slate-700",children:e})]},s))})]})})},s)),z.faqs&&z.faqs.length>0&&(0,b.jsx)("section",{className:"py-12 bg-slate-100",children:(0,b.jsxs)("div",{className:"container mx-auto px-4",children:[(0,b.jsx)("h2",{className:"text-2xl font-bold text-slate-900 mb-8 text-center",children:"Frequently Asked Questions"}),(0,b.jsx)("div",{className:"max-w-3xl mx-auto space-y-4",children:z.faqs.map((e,s)=>(0,b.jsxs)("div",{className:"bg-white rounded-lg shadow-sm overflow-hidden",children:[(0,b.jsxs)("button",{onClick:()=>q(F===s?null:s),className:"w-full flex items-center justify-between p-4 text-left hover:bg-slate-50",children:[(0,b.jsx)("span",{className:"font-medium text-slate-900",children:e.question}),(0,b.jsx)(v.A,{className:"h-5 w-5 text-slate-400 transition-transform ".concat(F===s?"rotate-180":"")})]}),F===s&&(0,b.jsx)("div",{className:"px-4 pb-4",children:(0,b.jsx)("p",{className:"text-slate-600",children:e.answer})})]},s))})]})}),(0,b.jsx)("section",{className:"py-16 bg-gradient-to-r from-blue-700 to-indigo-700 text-white",children:(0,b.jsxs)("div",{className:"container mx-auto px-4 text-center",children:[(0,b.jsx)("h2",{className:"text-3xl font-bold mb-4",children:"Visit Us Today"}),(0,b.jsx)("p",{className:"text-blue-100 mb-8 max-w-xl mx-auto",children:"Walk in for a free hearing test or book an appointment. We're just around the corner!"}),(0,b.jsxs)("div",{className:"flex flex-wrap justify-center gap-4",children:[(0,b.jsx)("a",{href:"https://www.google.com/maps/dir/?api=1&destination=".concat(null===V||void 0===V||null===(k=V.coordinates)||void 0===k?void 0:k.lat,",").concat(null===V||void 0===V||null===(A=V.coordinates)||void 0===A?void 0:A.lng),target:"_blank",rel:"noopener noreferrer",children:(0,b.jsxs)(g.$,{size:"lg",className:"bg-white text-blue-700 hover:bg-blue-50",children:[(0,b.jsx)(i.A,{className:"h-5 w-5 mr-2"}),"Get Directions"]})}),(0,b.jsx)("a",{href:"https://wa.me/".concat(null===(C=z.cta)||void 0===C?void 0:C.whatsapp,"?text=Hi! I want to visit HearClear ").concat(null===V||void 0===V?void 0:V.name),target:"_blank",rel:"noopener noreferrer",children:(0,b.jsxs)(g.$,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10",children:[(0,b.jsx)(p.A,{className:"h-5 w-5 mr-2"}),"WhatsApp Us"]})})]})]})})]})}},63944(e,s,a){a.d(s,{A:()=>l});const l=(0,a(77784).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"}]])},75088(e,s,a){a.d(s,{A:()=>l});const l=(0,a(77784).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},82706(e,s,a){a.d(s,{A:()=>l});const l=(0,a(77784).A)("navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]])}}]);
3//# sourceMappingURL=132.cc39f59a.chunk.js.map

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.