PageSourceSearch

https://www.medicarefaq.com/_next/static/chunks/app/search/page-8a…?dpl=dpl_GTaTbToW5qK4drUK1aUreEspvxyn

js medicarefaq.com collected 2026-10-02 07:24:08 UTC 12,483 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2959],{28465:(e,t,s)=>{Promise.resolve().then(s.bind(s,62475)),Promise.resolve().then(s.bind(s,18013)),Promise.resolve().then(s.bind(s,85921)),Promise.resolve().then(s.bind(s,95530)),Promise.resolve().then(s.bind(s,59990)),Promise.resolve().then(s.bind(s,10846))},62475:(e,t,s)=>{"use strict";s.d(t,{default:()=>C});var a=s(98917),l=s(32033),r=s(96965),n=s.n(r),i=s(12598),o=s(37890),c=s(84359),d=s(44722),x=s(31501),h=s(58352),m=s(12613),u=s(44263),p=s(29737),b=s(35837),g=s(3503),f=s(46960),j=s(90723),y=s(93421),N=s(47576),A=s(99376),w=s(96632),v=s(9881);let F=[{key:"all",label:"All Results",icon:o.A},{key:"blog",label:"Blog",icon:c.A},{key:"coverage",label:"Coverage FAQs",icon:d.A},{key:"guide",label:"Guides",icon:x.A},{key:"page",label:"Pages",icon:h.A}],B={blog:{bg:"#EFF6FF",text:"#2563EB"},coverage:{bg:"#ECFDF5",text:"#059669"},guide:{bg:"#F5F3FF",text:"#7C3AED"},page:{bg:"#F3F4F6",text:"#6B7280"}},k=["dental implants","Medicare costs 2026","Medicare Advantage","enrollment","Part D","Medigap","turning 65","hearing aids"];function C(){let e=(0,i.useSearchParams)(),t=(null==e?void 0:e.get("q"))||"",[s,r]=(0,l.useState)(t),[c,d]=(0,l.useState)("all");(0,l.useEffect)(()=>{let t=(null==e?void 0:e.get("q"))||"";t!==s&&(r(t),d("all"))},[e]),(0,l.useEffect)(()=>{window.scrollTo(0,0)},[]);let x=(0,l.useMemo)(()=>(0,v.Uc)(s),[s]),h=(0,l.useMemo)(()=>(0,v.Hk)(x),[x]),f=(0,l.useMemo)(()=>(0,v.ND)(),[]),j=(0,l.useMemo)(()=>"all"===c?x:x.filter(e=>e.type===c),[x,c]),B=(0,l.useCallback)(e=>{e.preventDefault();let t=s.trim();t&&window.history.replaceState(null,"","/search?q=".concat(encodeURIComponent(t)))},[s]),C=(0,l.useCallback)(e=>{r(e),d("all"),window.history.replaceState(null,"","/search?q=".concat(encodeURIComponent(e)))},[]),P=(0,l.useCallback)(()=>{r(""),d("all"),window.history.replaceState(null,"","/search")},[]);return(0,a.jsx)("div",{className:"min-h-screen flex flex-col bg-[#F8F9FB]",children:(0,a.jsxs)("main",{className:"flex-1",children:[(0,a.jsx)("section",{className:"bg-white border-b border-[#E5E7EB] py-8 md:py-10",children:(0,a.jsx)("div",{className:"container max-w-4xl mx-auto",children:(0,a.jsxs)(N.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3},children:[(0,a.jsxs)("nav",{className:"text-sm text-[#9CA3AF] mb-4 flex items-center gap-2",children:[(0,a.jsx)(n(),{href:"/",className:"hover:text-[#1B2A4A] transition-colors",children:"Home"}),(0,a.jsx)(m.A,{className:"w-3.5 h-3.5","aria-hidden":"true"}),(0,a.jsx)("span",{className:"text-[#1B2A4A] font-medium",children:"Search"})]}),(0,a.jsx)("h1",{className:"text-2xl md:text-3xl font-extrabold text-[#1B2A4A] mb-5",children:s?'Search results for "'.concat(s,'"'):"Search Medicare Topics"}),(0,a.jsxs)("form",{onSubmit:B,className:"relative",children:[(0,a.jsx)(u.A,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-[#9CA3AF]","aria-hidden":"true"}),(0,a.jsx)("input",{type:"text",value:s,onChange:e=>r(e.target.value),placeholder:"Search blog articles, coverage FAQs, guides, and more...",className:"w-full pl-12 pr-12 py-4 bg-[#F5F7FA] border border-[#E5E7EB] rounded-xl text-[15px] text-[#1B2A4A] placeholder:text-[#9CA3AF] focus:outline-none focus:border-[#1B2A4A] focus:ring-2 focus:ring-[#1B2A4A]/10 transition-all duration-150",autoFocus:!0}),s&&(0,a.jsx)("button",{type:"button",onClick:P,className:"absolute right-4 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-[#E5E7EB] hover:bg-[#D1D5DB] flex items-center justify-center transition-colors",children:(0,a.jsx)(p.A,{className:"w-4 h-4 text-[#6B7280]","aria-hidden":"true"})})]}),s&&(0,a.jsx)("div",{className:"mt-5 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3",children:(0,a.jsxs)("p",{className:"text-sm text-[#6B7280]",children:["Found"," ",(0,a.jsx)("span",{className:"font-bold text-[#1B2A4A]",children:x.length})," ","result",1!==x.length?"s":""," across"," ",(0,a.jsx)("span",{className:"font-medium",children:f})," articles"]})})]})})}),s&&x.length>
10&&(0,a.jsx)("div",{className:"bg-white border-b border-[#E5E7EB] sticky top-[140px] lg:top-[168px] z-30",children:(0,a.jsx)("div",{className:"container max-w-4xl mx-auto py-3",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-[#9CA3AF] uppercase tracking-wider shrink-0",children:"Filter by"}),(0,a.jsxs)(y.bL,{value:c,onValueChange:d,children:[(0,a.jsx)(y.l9,{className:"inline-flex items-center gap-2 w-[220px] h-9 px-3 text-sm border border-[#E5E7EB] rounded-lg bg-[#F8F9FB] hover:bg-white focus:outline-none focus:ring-1 focus:ring-[#1B2A4A] transition-colors",children:(()=>{let e=F.find(e=>e.key===c),t=e?h[e.key]||0:x.length,s=(null==e?void 0:e.icon)||o.A;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s,{className:"w-3.5 h-3.5 text-[#6B7280] shrink-0","aria-hidden":"true"}),(0,a.jsx)("span",{className:"font-medium text-[#1B2A4A] flex-1 text-left",children:(null==e?void 0:e.label)||"All Results"}),(0,a.jsx)("span",{className:"text-xs bg-[#1B2A4A] text-white px-1.5 py-0.5 rounded-full",children:t}),(0,a.jsx)(b.A,{className:"w-3.5 h-3.5 text-[#9CA3AF] shrink-0","aria-hidden":"true"})]})})()}),(0,a.jsx)(y.ZL,{children:(0,a.jsx)(y.UC,{position:"popper",sideOffset:4,className:"z-50 w-[220px] bg-white border border-[#E5E7EB] rounded-lg shadow-lg overflow-hidden",children:(0,a.jsx)(y.LM,{className:"p-1",children:F.map(e=>{let t=h[e.key]||0,s=e.icon;return"all"!==e.key&&0===t?null:(0,a.jsxs)(y.q7,{value:e.key,className:"flex items-center gap-2.5 px-3 py-2 text-sm rounded-md cursor-pointer text-[#1B2A4A] hover:bg-[#F5F7FA] focus:bg-[#F5F7FA] focus:outline-none data-[state=checked]:bg-[#EEF2FF] select-none",children:[(0,a.jsx)(s,{className:"w-3.5 h-3.5 text-[#6B7280] shrink-0","aria-hidden":"true"}),(0,a.jsx)(y.p4,{children:(0,a.jsx)("span",{className:"flex-1",children:e.label})}),(0,a.jsx)("span",{className:"ml-auto text-xs text-[#9CA3AF] bg-[#F0F0F0] px-1.5 py-0.5 rounded-full",children:t})]},e.key)})})})})]})]})})}),(0,a.jsx)("section",{className:"py-8 md:py-10",children:(0,a.jsxs)("div",{className:"container max-w-4xl mx-auto",children:[!s&&(0,a.jsxs)(N.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3},className:"text-center py-12",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-2xl bg-[#F5F7FA] flex items-center justify-center mx-auto mb-5",children:(0,a.jsx)(u.A,{className:"w-7 h-7 text-[#9CA3AF]","aria-hidden":"true"})}),(0,a.jsx)("h2",{className:"text-xl font-bold text-[#1B2A4A] mb-2",children:"What are you looking for?"}),(0,a.jsxs)("p",{className:"text-[#6B7280] mb-8 max-w-md mx-auto",children:["Search across ",f," articles, guides, and FAQs to find the Medicare information you need."]}),(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-2 max-w-lg mx-auto",children:k.map(e=>(0,a.jsx)("button",{onClick:()=>C(e),className:"px-4 py-2 bg-white border border-[#E5E7EB] rounded-full text-sm text-[#6B7280] hover:border-[#1B2A4A] hover:text-[#1B2A4A] hover:shadow-sm transition-all duration-150",children:e},e))})]}),s&&0===x.length&&(0,a.jsxs)(N.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3},className:"text-center py-12",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-2xl bg-[#FEF2F2] flex items-center justify-center mx-auto mb-5",children:(0,a.jsx)(u.A,{className:"w-7 h-7 text-[#F87171]","aria-hidden":"true"})}),(0,a.jsx)("h2",{className:"text-xl font-bold text-[#1B2A4A] mb-2",children:"No results found"}),(0,a.jsxs)("p",{className:"text-[#6B7280] mb-6 max-w-md mx-auto",children:["We couldn't find anything matching \"",s,'". Try a different search term or browse popular topics below.']}),(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-2 max-w-lg mx-auto mb-8",children:k.map(e=>(0,a.jsx)("button",{onClick:()=>C(e),className:"px-4 py-2 bg-white border border-[#E5E7EB] rounded-full text-sm text-[#6B7280] hover:border-[#1B2A4A] hover:text-[#1B2A4A] hover:shadow-sm transition-all duration-150",children:e},e))}),(0,a.jsxs)(n(),{href:"/faqs",className:"inline-flex items-center gap-2 text-[#C41230] font-semibold text-sm hover:underline",children:["Browse all Coverage FAQs",(0,a.jsx)(g.A,{className:"w-4 h-4","aria-hidden":"true"})]})]}),s&&j.length>0&&(0,a.jsx)("div",{className:"space-y-3",children:(0,a.jsx)(A.N,{mode:"popLayout",children:j.map((e,t)=>(0,a.jsx)(E,{result:e,index:t},e.id))})}),s&&x.length>0&&0===j.length&&(0,a.jsx)("div",{className:"text-center py-12",children:(0,a.jsxs)("p",{className:"text-[#6B7280] mb-4",children:["No results in this category. Try"," ",(0,a.jsx)("button",{onClick:()=>d("all"),className:"text-[#C41230] font-semibold hover:underline",children:"viewing all results"}),"."]})})]})}),(0,a.jsx)("section",{className:"bg-[#1B2A4A] py-12 md:py-16",children:(0,a.jsxs)("div",{className:"container max-w-4xl mx-auto text-center",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-3xl font-extrabold text-white mb-4",children:"Can't Find What You're Looking For?"}),(0,a.jsx)("p",{className:"text-white/70 text-lg mb-8 max-w-xl mx-auto",children:"Our licensed Medicare agents are here to answer your specific questions and help you find the right plan."}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[(0,a.jsx)("a",{href:"tel:+18883358996","data-invoca-phone-number":"18883358996",onClick:()=>(0,w.KA)({phone_number:"(888) 335-8996",page_section:"search"}),className:"invoca-phone inline-flex items-center gap-2 bg-[#C41230] hover:bg-[#A30F28] text-white font-bold px-8 py-3.5 rounded-lg transition-colors text-sm",children:"Call (888) 335-8996"}),(0,a.jsx)(n(),{href:"/contact",className:"inline-flex items-center gap-2 bg-white/10 hover:bg-white/20 text-white font-semibold px-8 py-3.5 rounded-lg transition-colors text-sm border border-white/20",children:"Contact Us Online"})]})]})})]})})}function E(e){let{result:t,index:s}=e,l=B[t.type]||B.page;return(0,a.jsx)(N.P.div,{layout:!0,initial:{opacity:0,y:8}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2,delay:Math.min(.03*s,.3)},children:(0,a.jsx)(n(),{href:t.href,className:"group block bg-white border border-[#E5E7EB] rounded-xl p-5 hover:shadow-md hover:border-[#C41230]/20 transition-all duration-200",children:(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsxs)("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center shrink-0 mt-0.5",style:{backgroundColor:l.bg},children:["blog"===t.type&&(0,a.jsx)(c.A,{className:"w-5 h-5",style:{color:l.text},"aria-hidden":"true"}),"coverage"===t.type&&(0,a.jsx)(d.A,{className:"w-5 h-5",style:{color:l.text},"aria-hidden":"true"}),"guide"===t.type&&(0,a.jsx)(x.A,{className:"w-5 h-5",style:{color:l.text},"aria-hidden":"true"}),"page"===t.type&&(0,a.jsx)(h.A,{className:"w-5 h-5",style:{color:l.text},"aria-hidden":"true"})]}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1.5 flex-wrap",children:[(0,a.jsx)("span",{className:"inline-block text-[10px] font-bold tracking-wider uppercase px-2 py-0.5 rounded",style:{backgroundColor:l.bg,color:l.text},children:t.typeLabel}),(0,a.jsx)("span",{className:"inline-block text-[10px] font-bold tracking-wider uppercase px-2 py-0.5 rounded text-white",style:{backgroundColor:t.categoryColor},children:t.category})]}),(0,a.jsx)("h3",{className:"font-bold text-[#1B2A4A] text-[15px] mb-1 group-hover:text-[#C41230] transition-colors leading-snug",children:t.title}),(0,a.jsx)("p",{className:"text-[13px] text-[#6B7280] leading-relaxed line-clamp-2 mb-2",children:t.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 text-[11px] text-[#9CA3AF]",children:[t.author&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(f.A,{className:"w-3 h-3","aria-hidden":"true"}),t.author]}),t.readTime&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(j.A,{className:"w-3 h-3","aria-hidden":"true"}),t.readTime]}),t.date&&(0,a.jsx)("span",{children:t.date}),(0,a.jsxs)("span",{className:"ml-auto flex items-center gap-1 text-[#C41230] font-semibold opacity-0 group-hover:opacity-100 transition-opacity",children:["Read ",(0,a.jsx)(g.A,{className:"w-3 h-3","aria-hidden":"true"})]})]})]})]})})})}}},e=>{e.O(0,[866,6965,9802,4836,132,3830,4174,5212,1603,7358],()=>e(e.s=28465)),_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.