PageSourceSearch

https://medicaresimple.io/_next/static/chunks/pages/connect/cost/other-costs-9b13facc3a1ce9d1.js

js medicaresimple.io collected 2026-10-07 20:39:33 UTC 10,196 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fbc1bb08-9df4-4643-af28-e2712a1e6434",e._sentryDebugIdIdentifier="sentry-dbid-fbc1bb08-9df4-4643-af28-e2712a1e6434")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4348],{22234:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/connect/cost/other-costs",function(){return i(93541)}])},29820:function(e,t){"use strict";t.Z={src:"/_next/static/media/dollar-sign-8.d8f68761.svg",height:50,width:50,blurWidth:0,blurHeight:0}},61265:function(e,t,i){"use strict";var n=i(85893),o=i(67294),r=i(61349),s=i(68511),l=i(61634),a=i(82951),c=i(96657),d=i(6811),u=i(27493),m=i(80851),p=i(45806),b=i(3455);let x=i(83454).env.NEXT_PUBLIC_DEV_MODE,v=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0});t.Z=e=>{var t,i,f;let{title:h,size:g,className:j="",simple:y=!1,irmaa:N,irmaaRx:C,summary:Z,estimatedCosts:w}=e,[D,_]=(0,o.useState)(null),[S,k]=(0,o.useState)(!1),[E,P]=(0,o.useState)(null),F=e=>{x&&console.log("showPopup",e),P(e),k(!0)};return((0,o.useEffect)(()=>{r.n.getMedicareCosts().then(e=>{_(e)})}),D)?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-2xl text-black-100 text-center font-bold min-w-[256px] p-6",children:"Medicare Advantage"}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-2",children:[(0,n.jsx)(s.Z,{title:"Hospital",description:"Part A",icons:[l.Z],bubble:"Free",onClick:()=>F((0,b.T$)({costs:D})),tooltip:!0}),(0,n.jsx)(s.Z,{title:"Doctor",description:"Part B",icons:[a.Z],bubble:"".concat(v.format((null==D?void 0:null===(t=D.partB)||void 0===t?void 0:t.premium)+(N||0)),"/mo"),onClick:()=>F((0,b.lQ)({costs:D})),tooltip:!0}),(0,n.jsx)(s.Z,{title:"Supplement",description:!y&&"Cost protection for out of pocket expenses",icons:[u.Z],bubble:"",disabled:!0}),(0,n.jsx)("div",{className:"p-1 m-auto mt-2 w-32 rounded-full invisible",children:"No Bundle"})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsxs)("div",{className:"p-1 grid grid-cols-1 gap-2 border border-green-600 rounded-3xl bg-green-600 bg-opacity-5",children:[(0,n.jsx)(s.Z,{title:"Prescription Drugs",description:"Part D",icons:[c.Z],bubble:C&&"".concat(v.format(C),"/mo"),onClick:()=>F((0,b.pz)({costs:D})),tooltip:!0}),(0,n.jsx)(s.Z,{title:"Dental Coverage",description:"",icons:[m.Z],bubble:""}),(0,n.jsx)(s.Z,{title:"Vision Coverage",description:"",icons:[d.Z],bubble:""})]}),(0,n.jsxs)("div",{className:"p-1 m-auto mt-2 w-32 rounded-xl border border-green-600 bg-green-600 bg-opacity-5 text-green-600",children:["".concat(v.format(null==D?void 0:null===(i=D.partC)||void 0===i?void 0:i.premium),"/mo Bundle"),(0,n.jsx)("br",{}),"(Part C)"]})]})]}),Z&&(0,n.jsx)("div",{className:"m-4 p-4 text-4xl font-bold text-center rounded-2xl border border-green-600 bg-green-600 bg-opacity-5 text-green-600",children:"".concat(v.format(Number(null==w?void 0:null===(f=w.partC)||void 0===f?void 0:f.premium))," / month ")}),(0,n.jsx)(p.Z,{open:S,setOpen:k,content:E})]}):(0,n.jsx)("div",{})}},34965:function(e,t,i){"use strict";var n=i(85893),o=i(67294),r=i(61349),s=i(68511),l=i(61634),a=i(82951),c=i(96657),d=i(6811),u=i(27493),m=i(80851),p=i(45806),b=i(3455);let x=i(83454).env.NEXT_PUBLIC_DEV_MODE,v=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0});t.Z=e=>{var t,i,f,h,g,j;let{title:y,size:N,className:C="",simple:Z=!1,irmaa:w,irmaaRx:D,summary:_,estimatedCosts:S}=e,[k,E]=(0,o.useState)(null),[P,F]=(0,o.useState)(!1),[I,B]=(0,o.useState)(null),M=e=>{x&&console.log("showPopup",e),B(e),F(!0)};return((0,o.useEffect)(()=>{r.n.getMedicareCosts().then(e=>{E(e)})}),k)?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-2xl text-black-100 text-center font-bold min-w-[256px] p-6",children:"Original Medicare + Supplement"}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,n.jsx)(s.Z,{title:"Hospital",description:"Part A",icons:[l.Z],bubble:"Free",onClick:()=>M((0,b.T$)({costs:k})),tooltip:!0}),(0,n.jsx)(s.Z,{title:"Prescription Drugs",description:"Part D",icons:[c.Z],bubble:"".concat(v.format((null==k?void 0:null===(t=k.partD)||void 0===t?void 0:t.premium)+(D||0)),"/mo"),onClick:()=>M((0,b.pz)({costs:k})),tooltip:!0}),(0,n.jsx)(s.Z,{title:"Doctor",description:"Part B",icons:[a.Z],bubble:"".concat(v.format((null==k?void 0:null===(i=k.partB)||void 0===i?void 0:i.premium)+(w||0)),"/mo"),onClick:()=>M((0,b.lQ)({costs:k})),tooltip:!0}),(0,n.jsx)(s.Z,{title:"Dental Coverage",description:"",icons:[m.Z],bubble:"".concat(v.format(null==k?void 0:null===(f=k.extras)||void 0===f?void 0:f.de
1ntal),"/mo")}),(0,n.jsx)(s.Z,{title:"Supplement",description:!Z&&"Cost protection for out of pocket expenses",icons:[u.Z],bubble:"".concat(v.format(null==k?void 0:null===(h=k.supplement)||void 0===h?void 0:h.premium),"/mo"),disabled:!1}),(0,n.jsx)(s.Z,{title:"Vision Coverage",description:"",icons:[d.Z],bubble:"".concat(v.format(null==k?void 0:null===(g=k.extras)||void 0===g?void 0:g.vision),"/mo")})]}),_&&(0,n.jsx)("div",{className:"m-4 p-4 text-4xl font-bold text-center rounded-2xl border border-green-600 bg-green-600 bg-opacity-5 text-green-600",children:"".concat(v.format(Number(null==S?void 0:null===(j=S.supplement)||void 0===j?void 0:j.premium))," / month ")}),(0,n.jsx)(p.Z,{open:P,setOpen:F,content:I})]}):(0,n.jsx)("div",{})}},93541:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return N}});var n=i(85893),o=i(11163),r=i(11901),s=i(40544),l=i(53021),a=i(48103),c=i(28191),d=i(29820),u=i(67294),m=i(21477),p=i(61349),b=i(6911),x=i(92986),v=i(61265),f=i(34965);function h(){let[e,t]=(0,u.useState)(null),[i,h]=(0,u.useState)({}),[g,j]=(0,u.useState)(0),[y,N]=(0,u.useState)(0),[C,Z]=(0,u.useState)(0),[w,D]=(0,u.useState)(null),[_,S]=(0,u.useState)({}),k=(0,o.useRouter)();new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0}),(0,u.useEffect)(()=>{m.C.getCustomerSession().then(e=>{t(e.customerId)}),p.n.getMedicareCosts().then(e=>{D(e)})},[]),(0,u.useEffect)(()=>{e&&m.C.getProfile({customerId:e}).then(e=>{h(e)})},[e]),(0,u.useEffect)(()=>{if(null!=i.irmaa&&w){var e;j(i.irmaa),N(i.irmaa_rx),Z(Number(i.irmaa)+Number(null==w?void 0:null===(e=w.partB)||void 0===e?void 0:e.premium)),S(b.L.getEstimatedCosts(i,w))}},[i,w]),(0,u.useEffect)(()=>{e&&i&&C?(i.adjusted_cost=C,h(i),m.C.updateProfile({customerId:e,profile:i})):console.warn("Could not update profile")},[C]);let E=e=>{k.push(e||"/connect")};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"pb-8",children:(0,n.jsx)(a.Z,{progress:100,image:(0,n.jsx)(c.Z,{url:d.Z.src})})}),(0,n.jsx)(r.Z,{title:"How much will it cost?",size:"lg",className:"text-center"}),(0,n.jsx)("div",{className:"pb-4"}),(0,n.jsxs)(s.Z,{children:[(0,n.jsx)(l.Z,{children:(0,n.jsx)("div",{className:"text-center max-w-2xl",children:(0,n.jsxs)("div",{className:"p-6 text-left",children:["Now that you know your income-adjusted monthly premium, it will be further affected by the kind of plan you select. However, there are additional costs to consider besides your monthly premium. Your total cost of Medicare is affected by these cost factors, which change depending on the amount of care you use:",(0,n.jsxs)("ul",{className:"p-2 list-disc pl-8",children:[(0,n.jsx)("li",{className:"p-1",children:"Deductibles"}),(0,n.jsx)("li",{className:"p-1",children:"Co-Pays"}),(0,n.jsx)("li",{className:"p-1",children:"Co-Insurance"}),(0,n.jsx)("li",{className:"p-1",children:"Maximum Out-of-Pocket cost"})]}),"Balancing the kind of care you need, monthly cost, and use-based costs are part of the key to finding the right plan for you. For example, compare the cost difference between Medicare Advantage and Supplement, based on your income:",(0,n.jsxs)("div",{className:"grid grid-cols-1 pt-4 pb-4",children:[(0,n.jsx)(v.Z,{irmaa:g,irmaaRx:y,summary:!0,simple:!0,estimatedCosts:_}),(0,n.jsx)(f.Z,{irmaa:g,irmaaRx:y,summary:!0,simple:!0,estimatedCosts:_})]}),"Now that you know your income-adjusted monthly premium, let’s see how it compares to your current health insurance plan."]})})}),(0,n.jsxs)("div",{className:"py-5 text-center",children:[(0,n.jsx)(x.Z,{fullWidth:!1,theme:"purple",title:"Compare to my current plan",onClick:()=>E("/connect/compare/intro")},"comparebutton"),(0,n.jsx)("div",{className:"text-purple-100",onClick:()=>E("/connect"),children:"Back to Dashboard"})]})]})]})}var g=i(9008),j=i.n(g),y=i(52279),N=()=>(0,n.jsxs)(y.Z,{children:[(0,n.jsx)(j(),{children:(0,n.jsx)("title",{children:"How much will it cost?"})}),(0,n.jsx)("main",{children:(0,n.jsx)(h,{})})]})},6911:function(e,t,i){"use strict";i.d(t,{L:function(){return o}}),i(83454).env.NEXT_PUBLIC_DEV_MODE;let n=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0}),o={getEstimatedCosts:function(e,t){if(e&&t){var i,o,r,s,l,a,c;let d=e.irmaa,u=e.irmaa_rx,m=Number((null==t?void 0:null===(i=t.partB)||void 0===i?void 0:i.premium)+(d||0)+(null==t?void 0:null===(o=t.partC)||void 0===o?void 0:o.premium)+(u||0)),p=Number((null==t?void 0:null===(r=t.partB)||void 0===r?void 0:r.premium)+(d||0)+(null==t?void 0:null===(s=t.supplement)||void 0===s?void 0:s.premium)+(null==t?void 0:null===(l=t.extras)||void 0===l?void 0:l.dental)+(null==t?void 0:null===(a=t.extras)||void 0===a?void 0:a.vision)+(null==t?void 0:null===(c=t.partD)||void 0===c?void 0:c.premium)+(u||0)),b=null!=e.plan_recommendation?"Medicare Advantage"==e.plan_recommendation?m:p:null;return{...t,irmaa:d,irmaaRx:u,partC:{premium:m},supplement:{premium:p},includesIrmaa:null!=d,yourPremium:b,yourPremiumDisplay:b?"".concat(n.format(b)," / month"):"".concat(n.format(m)," to \n  ").concat(n.format(p)," / month")}}return console.warn("Could not calculate estimated costs"),t}}}},function(e){e.O(0,[736,5929,2888,9774,179],function(){return e(e.s=22234)}),_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.