import{j as n,B as C,aI as b,q as N,x as L,r as j,bA as w,y as x,cT as y,T as o,w as T,s as E,cL as A,cV as k,b3 as m,bh as S,cc as p,bD as P,am as $,cd as f,cg as q,a3 as F}from"./index-BbiZcFRx.js";import{H as D}from"./index-DQT2iYa9.js";import{B as H}from"./index-CZRG4c0i.js";const O="_responsiveBanner_qza9i_88",R="_banner_qza9i_92",z="_content_qza9i_102",M="_image_qza9i_111",c={responsiveBanner:O,banner:R,content:z,image:M},fn=({className:s="",ContentPanel:a,ImagePanel:e,id:t})=>n.jsx("div",{className:c.responsiveBanner,id:t,children:n.jsxs("div",{className:`${s} ${c.banner}`,children:[a&&n.jsx("div",{className:c.content,children:n.jsx(a,{})}),e&&n.jsx("div",{className:c.image,children:n.jsx(e,{})})]})}),U="_contentContainer_1tsn2_88",K={contentContainer:U},I=({children:s,className:a=""})=>n.jsx("div",{className:`${a} ${K.contentContainer}`,children:s}),V="_finalExpenseActionBtn_1esf6_88",Y={finalExpenseActionBtn:V},Z=({className:s,onClick:a,disabled:e})=>{const t=l=>b(l);return n.jsx(C,{className:`${s} ${Y.finalExpenseActionBtn}`,disabled:e,label:"Final Expense",onClick:t(a),id:"finalExpenseButton"})},Q="_banner_1m5ew_88",X="_content_1m5ew_92",G="_contentPanelText_1m5ew_112",J="_heading1_1m5ew_118",W="_text_1m5ew_127",nn="_medicareBasicsLink_1m5ew_132",en="_link_1m5ew_136",tn="_image_1m5ew_140",an="_buttonSecondaryLight_1m5ew_149",sn="_plansByZipNoLabel_1m5ew_155",on="_btnContainer_1m5ew_159",cn="_actionBtn_1m5ew_166",_n="_finalExpenseActionBtn_1m5ew_170",ln="_active_1m5ew_192",rn="_medicareContainer_1m5ew_197",dn="_medicare_1m5ew_132",xn="_finalExpense_1m5ew_170",mn="_picture_1m5ew_249",pn="_zipCodeText_1m5ew_253",d={banner:Q,content:X,contentPanelText:G,heading1:J,text:W,medicareBasicsLink:nn,link:en,image:tn,buttonSecondaryLight:an,plansByZipNoLabel:sn,btnContainer:on,actionBtn:cn,finalExpenseActionBtn:_n,active:ln,medicareContainer:rn,medicare:dn,finalExpense:xn,picture:mn,zipCodeText:pn},Cn=({handleFinalExpense:s,handleMedicare:a,finalExpenseAgent:e,medicareAgent:t})=>n.jsxs("div",{className:d.btnContainer,children:[(!t&&!e||(t==null?void 0:t.isMedicareAgent)||(e==null?void 0:e.isMedicareAgent))&&n.jsx(C,{className:d.actionBtn,id:"medicareButton",label:"Medicare",onClick:a}),(!t&&!e||(t==null?void 0:t.isFinalExpenseAgent)||(e==null?void 0:e.isFinalExpenseAgent))&&n.jsx(Z,{className:d.finalExpenseActionBtn,onClick:s})]}),hn="_buttonSecondaryLight_3q7iv_88",vn="_contactAnAgent_3q7iv_105",un="_text_3q7iv_112",Bn="_titleText_3q7iv_121",gn="_viewOrContact_3q7iv_130",bn="_medicarePlansLookup_3q7iv_137",Nn="_btnContainer_3q7iv_144",Ln="_actionBtn_3q7iv_148",jn="_heading3_3q7iv_167",wn="_view_3q7iv_130",i={buttonSecondaryLight:hn,contactAnAgent:vn,text:un,titleText:Bn,viewOrContact:gn,medicarePlansLookup:bn,btnContainer:Nn,actionBtn:Ln,heading3:jn,view:wn},yn=()=>{const s=N(),a=L(),{purlAgentData:e}=j.useContext(w),t=x(r=>r.planTypeDetail.medicareAgent),l=x(r=>r.planTypeDetail.finalExpenseAgent),{HasMedicareAgentData:h,HasFinalExpenseAgentData:v}=y(),u=()=>{E(A,"true"),a(k({title:"Find an Agent",navigationLink:m,medicareLink:m,finalExpenseLink:S,disableMedicarePlanType:h(),disableFinalExpensePlanType:v()}))},B=()=>{a(p(P)),s.push($)},g=()=>{a(p(f)),s.push(q)};return n.jsxs("div",{className:i.viewOrContact,children:[n.jsxs("div",{className:i.medicarePlansLookup,children:[n.jsx(o,{className:i.titleText,text:"Find Coverage",id:"findCoverageTitle"}),n.jsx(o,{className:i.text,text:"View coverage options and costs available to you.",id:"findCoverageDescription"}),n.jsx(Cn,{medicareAgent:t,finalExpenseAgent:l,handleMedicare:B,handleFinalExpense:g})]}),!e&&n.jsxs(n.Fragment,{children:[n.jsx(T,{className:i.heading3,text:"OR"}),n.jsxs("div",{className:i.contactAnAgent,children:[n.jsx(o,{className:i.titleText,text:"Not sure what you need?",id:"notSureTitle"}),n.jsx(o,{className:i.text,text:"Talk to a licensed insurance agent for guidance and support.",id:"notSureDescription"}),n.jsx(H,{id:"ContactAnAgent",className:i.buttonSecondaryLight,onClick:u,label:"Find an Agent"})]})]})]})},Tn="_contentContainer_1x2kf_88",En="_heading2_1x2kf_92",An="_cta_1x2kf_96",kn="_homeSeePlansCta_1x2kf_103",_={contentContainer:Tn,heading2:En,cta:An,homeSeePlansCta:kn},qn=()=>n.jsx("div",{className:_.homeSeePlansCta,children:n.jsx(I,{className:_.contentContainer,children:n.jsxs("div",{className:_.cta,children:[n.jsx(F,{className:_.heading2,text:"Ready to Find Your Coverage?",id:"findYourCoverage"}),n.jsx(D,{}),n.jsx(yn,{})]})})});export{Cn as A,I as C,qn as H,fn as R,d as s}; //# sourceMappingURL=index-D9kQD54Z.js.map