1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6209],{36834:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});var i=t(12115);let n=i.forwardRef(function(e,a){let{title:t,titleId:n,...l}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":n},l),t?i.createElement("title",{id:n},t):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))})},39059:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});var i=t(12115);let n=i.forwardRef(function(e,a){let{title:t,titleId:n,...l}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":n},l),t?i.createElement("title",{id:n},t):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))})},76209:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>W});var i=t(95155),n=t(12115);let l=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))});var r=t(39059);let s=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"}))}),c=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});var o=t(2821),d=t(45748);let h=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});var u=t(81149),m=t.n(u);function p(e){let{step:a,title:t,sub:l,amount:r,isOpen:s,done:c,onToggle:u,children:p}=e,b=(0,n.useId)(),_=(0,n.useId)();return(0,i.jsxs)("div",{className:(0,o.A)(m().acc,s&&m().accOpen,c&&m().accDone),children:[(0,i.jsxs)("button",{type:"button",id:_,className:m().accHead,"aria-expanded":s,"aria-controls":b,onClick:u,children:[(0,i.jsx)("span",{className:m().accStep,children:c?(0,i.jsx)(d.A,{width:15,height:15,strokeWidth:2.4}):a}),(0,i.jsxs)("span",{className:m().accTitles,children:[(0,i.jsx)("span",{className:m().accTitle,children:t}),(0,i.jsx)("span",{className:m().accSub,children:l})]}),null!=r?(0,i.jsx)("span",{className:m().accAmt,children:r}):null,(0,i.jsx)("span",{className:m().accChev,children:(0,i.jsx)(h,{width:20,height:20})})]}),(0,i.jsx)("div",{id:b,role:"region","aria-labelledby":_,className:m().accBody,hidden:!s,children:p})]})}let b=[{key:"homeValue",label:"Home Value"},{key:"checkingSavings",label:"Checking and Savings"},{key:"retirement",label:"Retirement Accounts"},{key:"investments",label:"Investment Accounts"},{key:"lifeInsurance",label:"Life Insurance"},{key:"businessValue",label:"Business Ownership Value"},{key:"vehicles",label:"Vehicles"},{key:"personalProperty",label:"Personal Property"},{key:"otherAssets",label:"Other Assets"}],_=[{key:"mortgageBalance",label:"Mortgage Balance"},{key:"creditCard",label:"Credit Card Debt"},{key:"studentLoans",label:"Student Loans"},{key:"autoLoans",label:"Auto Loans"},{key:"personalLoans",label:"Personal Loans"},{key:"medicalDebt",label:"Medical Debt"},{key:"otherDebts",label:"Other Debts"}],g={CT:{kind:"estate",threshold:1361e4,rate:.1},DC:{kind:"estate",threshold:471e4,rate:.12},HI:{kind:"estate",threshold:549e4,rate:.13},IL:{kind:"estate",threshold:4e6,rate:.12},ME:{kind:"estate",threshold:68e5,rate:.1},MD:{kind:"estate",threshold:5e6,rate:.12},MA:{kind:"estate",threshold:2e6,rate:.1},MN:{kind:"estate",threshold:3e6,rate:.12},NY:{kind:"estate",threshold:694e4,rate:.12},OR:{kind:"estate",threshold:1e6,rate:.11},RI:{kind:"estate",threshold:1774583,rate:.1},VT:{kind:"estate",threshold:5e6,rate:.16},WA:{kind:"estate",threshold:2193e3,rate:.14},NE:{kind:"inheritance",rate:.05},KY:{kind:"inheritance",rate:.05},NJ:{kind:"inheritance",rate:.06},PA:{kind:"inheritance",rate:.045}},v=[["AL","Alabama"],["AK","Alaska"],["AZ","Arizona"],["AR","Arkansas"],["CA","California"],["CO","Colorado"],["CT","Connecticut"],["DE","Delaware"],["DC","District of Columbia"],["FL","Florida"],["GA","Georgia"],["HI","Hawaii"],["ID","Idaho"],["IL","Illinois"],["IN","Indiana"],["IA","Iowa"],["KS","Kansas"],["KY","Kentucky"],["LA","Louisiana"],["ME","Maine"],["MD","Maryland"],["MA","Massachusetts"],["MI","Michigan"],["MN","Minnesota"],["MS","Mississippi"],["MO","Missouri"],["MT","Montana"],["NE","Nebraska"],["NV","Nevada"],["NH","New Hampshire"],["NJ","New Jersey"],["NM","New Mexico"],["NY","New York"],["NC","North Carolina"],["ND","North Dakota"],["OH","Ohio"],["OK","Oklahoma"],["OR","Oregon"],["PA","Pennsylvania"],["RI","Rhode Island"],["SC","South Carolina"],["SD","South Dakota"],["TN","Tennessee"],["TX","Texas"],["UT","Utah"],["VT","Vermont"],["VA","Virginia"],["WA","Washington"],["WV","West Virginia"],["WI","Wisconsin"],["WY","Wyoming"]],f={homeValue:"",checkingSavings:"",retirement:"",investments:"",lifeInsurance:"",businessValue:"",vehicles:"",personalProperty:"",otherAssets:"",mortgageBalance:"",creditCard:"",studentLoans:"",autoLoans:"",personalLoans:"",medicalDebt:"",funeralExpenses:"",otherDebts:"",married:null,hasChildren:null,numHeirs:1,minorChildren:null,blendedFamily:null,divideEqually:!0,includeGifts:!1,giftsAmount:"",hasWill:null,hasTrust:null,beneficiariesUpToDate:null,ownsHome:null,multiStateProperty:null,
1state:""},x={low:"Your family may receive more of your estate with fewer obvious planning gaps, especially if your beneficiaries and legal documents are current.",moderate:"Some of your estate may be reduced by debts, administrative costs, or probate-related delays. A clearer estate plan may help your family understand what to expect and reduce confusion.",high:"A meaningful portion of your estate may be reduced or delayed before your family receives it. A will, trust, and updated beneficiaries can help create a clearer path for the people you love."},y={low:"Low cost \xb7 low delay",moderate:"Moderate cost \xb7 some delay",high:"Higher cost \xb7 possible delay"},w={low:"Lower planning gap",moderate:"Moderate planning gap",high:"Higher planning gap"},j="/security/privacy-policy";function k(){return(0,i.jsxs)("p",{className:m().consent,"data-testid":"inheritance-consent",children:["By using this calculator, you agree to our"," ",(0,i.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"})," ","and"," ",(0,i.jsx)("a",{href:"/security/terms",target:"_blank",rel:"noopener noreferrer",children:"Terms of Service"}),". The information you enter stays in your browser to generate this educational estimate. We do not sell your personal information. For more details, see our"," ",(0,i.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"}),"."]})}var N=t(36834);let C=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 14.25 6-6m4.5-3.493V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185ZM9.75 9h.008v.008H9.75V9Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008V13.5Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}),A=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))}),M=[{key:"timing",icon:(0,i.jsx)(N.A,{width:20,height:20}),title:"Inheritance is not always immediate",body:"Some assets may take weeks, months, or longer to transfer, especially if probate is involved."},{key:"debts",icon:(0,i.jsx)(C,{width:20,height:20}),title:"Debts and expenses come first",body:"Before heirs receive assets, an estate may need to pay debts, final expenses, taxes, or administrative costs."},{key:"plan",icon:(0,i.jsx)(A,{width:20,height:20}),title:"A plan can reduce uncertainty",body:"Clear documents can help your loved ones understand who gets what, who is in charge, and what steps come next."}];function E(){return(0,i.jsx)("div",{className:m().explGrid,children:M.map(e=>(0,i.jsxs)("div",{className:m().expl,children:[(0,i.jsx)("div",{className:m().explIco,children:e.icon}),(0,i.jsx)("h3",{children:e.title}),(0,i.jsx)("p",{children:e.body})]},e.key))})}let L=e=>{let a=Number(e);return Number.isFinite(a)&&a>0?a:0},T=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{cents:t=!1}=a;return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2*!!t,maximumFractionDigits:2*!!t}).format(Math.round(e))};function D(e){let{id:a,label:t,value:n,onChange:l,required:r,invalid:s,describedBy:c}=e,o=""===n||null==n?"":Number(n).toLocaleString("en-US");return(0,i.jsxs)("div",{className:m().field,children:[(0,i.jsxs)("label",{className:m().fieldLabel,htmlFor:a,children:[t,r?(0,i.jsx)("span",{className:m().req,"aria-hidden":"true",children:"*"}):null]}),(0,i.jsx)("div",{className:m().inputMoney,children:(0,i.jsx)("input",{id:a,className:m().input,inputMode:"numeric",autoComplete:"off",placeholder:"0",value:o,"aria-invalid":s||void 0,"aria-describedby":c,onChange:e=>{let a=e.target.value.replace(/[^\d]/g,"");
1l(""===a?"":Math.max(0,parseInt(a)))}})})]})}let S=n.forwardRef(function(e,a){let{title:t,titleId:i,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},l),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});function V(e){let{label:a,desc:t,val:n,neg:l,total:r}=e;return(0,i.jsxs)("div",{className:(0,o.A)(m().keyrow,r&&m().keyrowTotal),children:[(0,i.jsxs)("div",{className:m().keyrowL,children:[(0,i.jsx)("div",{className:m().keyrowName,children:a}),(0,i.jsx)("div",{className:m().keyrowDesc,children:t})]}),(0,i.jsx)("div",{className:(0,o.A)(m().keyrowVal,l&&m().keyrowValNeg),children:n})]})}let H={low:m().gapLow,moderate:m().gapMod,high:m().gapHigh};function B(e){let{result:a}=e,t=[{label:"Starting estate value",amt:a.grossEstate,kind:"start"},{label:"Debts",amt:-a.totalDebts},{label:"Final expenses",amt:-a.finalExpenses},{label:"Estimated probate costs",amt:-a.probateCost},{label:"Potential taxes",amt:-a.taxes},{label:"Administrative & legal fees",amt:-a.adminFees}];a.charitableGifts>0&&t.push({label:"Charitable & specific gifts",amt:-a.charitableGifts}),t.push({label:"Estimated inheritance",amt:a.inheritanceAvailable,kind:"result"});let n=Math.max(a.grossEstate,1),l=[{label:"Family / heirs",amt:a.inheritanceAvailable,color:"var(--ic-midnight)"},{label:"Debts",amt:a.totalDebts,color:"var(--ic-papaya)"},{label:"Final expenses",amt:a.finalExpenses,color:"var(--ic-papaya-300)"},{label:"Probate & administrative",amt:a.adminAndProbate,color:"var(--ic-pine-base)"},{label:"Taxes",amt:a.taxes,color:"var(--ic-eggplant)"}];a.charitableGifts>0&&l.push({label:"Charitable & specific gifts",amt:a.charitableGifts,color:"var(--ic-butter-600)"});let r=l.reduce((e,a)=>e+a.amt,0)||1,s=l.filter(e=>e.amt>0);return(0,i.jsxs)("div",{"data-testid":"inheritance-results","aria-live":"polite",children:[(0,i.jsxs)("div",{className:(0,o.A)(m().gapbadge,H[a.gapTier]),children:[(0,i.jsx)("span",{className:m().dot})," ",w[a.gapTier]," \xb7 ",y[a.gapTier]]}),a.giftsCapped?(0,i.jsxs)("div",{className:m().disclaimer,"data-testid":"gifts-capped-notice",children:[(0,i.jsx)(c,{width:17,height:17}),(0,i.jsxs)("span",{children:["Charitable & specific gifts were limited to ",T(a.charitableGifts)," ","(the remaining estate after debts, expenses, probate, taxes, and fees). You entered"," ",T(a.requestedGifts),"."]})]}):null,(0,i.jsxs)("div",{className:m().headlineCards,children:[(0,i.jsxs)("div",{className:(0,o.A)(m().hcard,m().hcardPrimary),children:[(0,i.jsx)("div",{className:m().hcardCircle}),(0,i.jsxs)("p",{className:m().hcardLabel,children:[(0,i.jsx)(S,{width:15,height:15,strokeWidth:2})," Estimated inheritance available"]}),(0,i.jsx)("p",{className:m().hcardNum,children:T(a.inheritanceAvailable)}),(0,i.jsx)("p",{className:m().hcardFoot,children:"What may reach your family after debts, expenses, probate, and taxes."})]}),(0,i.jsxs)("div",{className:(0,o.A)(m().hcard,m().hcardSecondary),children:[(0,i.jsx)("p",{className:m().hcardLabel,children:"Estimated inheritance per heir"}),(0,i.jsx)("p",{className:m().hcardNum,children:T(a.perHeir)}),(0,i.jsxs)("p",{className:m().hcardFoot,children:[a.divideEqually?"Divided equally across ":"Estimated across ",a.heirs," ",1===a.heirs?"heir":"heirs",a.divideEqually?".":" â specific gifts may change individual shares."]})]})]}),(0,i.jsxs)("div",{className:m().keyrows,children:[(0,i.jsx)(V,{label:"Estimated gross estate value",desc:"Total value of all assets before debts and expenses",val:T(a.grossEstate)}),(0,i.jsx)(V,{label:"Estimated net estate value",desc:"Total assets minu
1s debts and final expenses",val:T(a.netEstate)}),(0,i.jsx)(V,{label:"Estimated costs & reductions",desc:"Debts, final expenses, probate, taxes, and fees",val:"â ".concat(T(a.totalReductions)),neg:!0}),(0,i.jsx)(V,{label:"Estimated inheritance available",desc:"After all debts, expenses, probate, taxes, and fees",val:T(a.inheritanceAvailable),total:!0}),(0,i.jsx)(V,{label:"Estimated inheritance per heir",desc:"Available inheritance across ".concat(a.heirs).concat(1===a.heirs?" heir":" heirs"),val:T(a.perHeir)})]}),(0,i.jsxs)("div",{className:m().block,children:[(0,i.jsx)("h3",{children:"From estate to inheritance"}),(0,i.jsx)("p",{className:m().blockSub,children:"How your starting estate value is reduced, step by step."}),(0,i.jsx)("div",{className:m().wf,children:t.map(e=>{var a;let t=Math.max(2,Math.abs(e.amt)/n*100),l="result"===e.kind;return(0,i.jsxs)("div",{className:(0,o.A)(m().wfRow,l&&m().wfRowResult),children:[(0,i.jsxs)("div",{className:m().wfMeta,children:[(0,i.jsx)("div",{className:m().wfName,children:e.label}),(0,i.jsx)("div",{className:m().wfTrack,children:(0,i.jsx)("div",{className:m().wfBar,style:{width:"".concat(t,"%"),background:"result"===(a=e.kind)?"var(--ic-midnight)":"start"===a?"var(--ic-midnight-60)":"var(--ic-papaya-300)"}})})]}),(0,i.jsxs)("div",{className:(0,o.A)(m().wfAmt,e.amt<0&&m().wfAmtMinus),children:[e.amt<0?"â ":"",T(Math.abs(e.amt))]})]},e.label)})})]}),(0,i.jsxs)("div",{className:m().block,children:[(0,i.jsx)("h3",{children:"Where the money may go"}),(0,i.jsx)("p",{className:m().blockSub,children:"A rough split of your gross estate across heirs and costs."}),(0,i.jsx)("div",{className:m().allocbar,children:s.map(e=>(0,i.jsx)("span",{style:{width:"".concat(e.amt/r*100,"%"),background:e.color}},e.label))}),(0,i.jsx)("div",{className:m().allocLegend,children:s.map(e=>(0,i.jsxs)("div",{className:m().allocItem,children:[(0,i.jsx)("span",{className:m().allocDot,style:{background:e.color}}),(0,i.jsx)("span",{className:m().allocName,children:e.label}),(0,i.jsx)("span",{className:m().allocVal,children:T(e.amt)}),(0,i.jsxs)("span",{className:m().allocPct,children:[Math.round(e.amt/r*100),"%"]})]},e.label))})]}),a.hasStateTax?(0,i.jsxs)("div",{className:m().disclaimer,children:[(0,i.jsx)(c,{width:17,height:17}),(0,i.jsxs)("span",{children:["Your state may impose a state"," ","estate"===a.stateTaxKind?"estate":"inheritance"," tax. The figure shown is a simplified placeholder â actual rates are graduated and depend on your relationship to each heir."]})]}):null]})}function O(e){let{value:a,onChange:t,error:n}=e,l="inheritance-state",r="inheritance-state-error";return(0,i.jsxs)("div",{className:m().field,style:{marginTop:16},children:[(0,i.jsxs)("label",{className:m().stateLabel,htmlFor:l,children:[(0,i.jsxs)("span",{className:m().fieldLabel,children:["What state do you live in?",(0,i.jsx)("span",{className:m().req,"aria-hidden":"true",children:"*"})]}),(0,i.jsxs)("select",{id:l,name:l,className:(0,o.A)(m().input,n&&m().inputErr),value:a,onChange:e=>t(e.target.value),"aria-required":"true","aria-invalid":!!n||void 0,"aria-describedby":n?r:void 0,children:[(0,i.jsx)("option",{value:"",children:"Select your state"}),v.map(e=>{let[a,t]=e;return(0,i.jsx)("option",{value:a,children:t},a)})]})]}),n?(0,i.jsx)("p",{id:r,className:m().fieldErr,children:n}):null]})}function I(e){let{value:a,onChange:t,min:n=1,max:l=20,invalid:r,describedBy:s}=e,c=Number(a)||n;return(0,i.jsxs)("div",{className:m().stepper,children:[(0,i.jsx)("button",{type:"button",onClick:()=>t(Math.max(n,c-1)),disabled:c<=n,"aria-label":"Decrease",children:"â"}),(0,i.jsx)("input",{value:c,inputMode:"numeric","aria-label":"Number of heirs","aria-invalid":r||void 0,"aria-describedby":s,onChange:e=>{let a=e.target.value.replace(/[^\d]/g,"");t(""===a?n:Math.min(l,Math.max(n,parseInt(a))))}}),(0,i.jsx)("button",{type:"button",onClick:()=>t(Math.min(l,c+1)),disabled:c>=l,"aria-label":"Increase",children:"+"})]})}function P(e){let{label:a,value:t,onChange:n,hint:l}=e;return(0,i.jsxs)("div",{className:m().toggleRow,children:[(0,i.jsxs)("div",{className:m().lbl,children:[a,l?(0,i.jsx)("div",{style:{fontSize:12,color:"var(--ic-fg-mute)",fontWeight:500,marginTop:2},children:l}):null]}),(0,i.jsxs)("div",{className:m().seg,role:"group","aria-label":a,children:[(0,i.jsx)("button",{type:"button","aria-pressed":!0===t,onClick:()=>n(!0),children:"Yes"}),(0,i.jsx)("button",{type:"button","aria-pressed":!1===t,onClick:()=>n(!1),children:"No"})]})]})}
1function W(){let[e,a]=(0,n.useState)({...f}),[t,d]=(0,n.useState)("A"),[h,u]=(0,n.useState)(null),[v,y]=(0,n.useState)(null),w=(0,n.useRef)(null),j=(0,n.useRef)(null),N="inheritance-assets-error",C="inheritance-heirs-error",A=(e,t)=>{a(a=>({...a,[e]:t})),u(null)};(0,n.useEffect)(()=>{var e,a,t;if(v){if(v.assets){null==(e=document.getElementById("a-homeValue"))||e.focus();return}if(v.heirs){null==(a=document.querySelector('input[aria-label="Number of heirs"]'))||a.focus();return}v.state&&(null==(t=document.getElementById("inheritance-state"))||t.focus())}},[v,t]);let M=b.reduce((a,t)=>a+(Number(e[t.key])||0),0),S=_.reduce((a,t)=>a+(Number(e[t.key])||0),0)+(Number(e.funeralExpenses)||0),V=null!==e.married&&null!==e.hasChildren,H=null!==e.hasWill&&null!==e.hasTrust&&!!e.state,W=_.filter(e=>"mortgageBalance"!==e.key);return(0,i.jsxs)("div",{className:m().page,"data-testid":"inheritance-calculator",children:[(0,i.jsx)("div",{className:m().calc,id:"calc",children:(0,i.jsxs)("div",{className:m().calcCard,children:[(0,i.jsxs)("div",{className:m().calcHead,children:[(0,i.jsx)("h2",{children:"How do I estimate an inheritance?"}),(0,i.jsx)("p",{children:"Add what you know about assets, debts, heirs, and planning documents. You can leave fields blank and refine later. Nothing is saved to an account."})]}),(0,i.jsx)("div",{className:m().consentWrap,children:(0,i.jsx)(k,{})}),(0,i.jsxs)(p,{step:"A",title:"Estate Value",sub:"What you own",isOpen:"A"===t,done:M>0,amount:M>0?T(M):null,onToggle:()=>d("A"===t?null:"A"),children:[(0,i.jsx)("div",{className:m().grid2,children:b.map((a,t)=>(0,i.jsx)(D,{id:"a-".concat(a.key),label:a.label,value:e[a.key],onChange:e=>A(a.key,e),invalid:0===t&&!!(null==v?void 0:v.assets),describedBy:0===t&&(null==v?void 0:v.assets)?N:void 0},a.key))}),(0,i.jsx)("div",{className:m().field,style:{marginTop:16},children:(0,i.jsx)(D,{id:"a-mortgage",label:"Mortgage Balance (Owed on Your Home)",value:e.mortgageBalance,onChange:e=>A("mortgageBalance",e)})}),(null==v?void 0:v.assets)?(0,i.jsx)("p",{id:N,className:m().fieldErr,children:v.assets}):null]}),(0,i.jsx)(p,{step:"B",title:"Debts and Final Costs",sub:"What is owed",isOpen:"B"===t,done:S>0,amount:S>0?T(S):null,onToggle:()=>d("B"===t?null:"B"),children:(0,i.jsxs)("div",{className:m().grid2,children:[W.map(a=>(0,i.jsx)(D,{id:"d-".concat(a.key),label:a.label,value:e[a.key],onChange:e=>A(a.key,e)},a.key)),(0,i.jsx)(D,{id:"d-funeral",label:"Funeral or Final Expenses",value:e.funeralExpenses,onChange:e=>A("funeralExpenses",e)})]})}),(0,i.jsxs)(p,{step:"C",title:"Family and Heirs",sub:"Who inherits",isOpen:"C"===t,done:V,onToggle:()=>d("C"===t?null:"C"),children:[(0,i.jsx)(P,{label:"Are you married?",value:e.married,onChange:e=>A("married",e)}),(0,i.jsx)(P,{label:"Do you have children?",value:e.hasChildren,onChange:e=>A("hasChildren",e)}),e.hasChildren?(0,i.jsx)(P,{label:"Do you have children under 18?",value:e.minorChildren,onChange:e=>A("minorChildren",e)}):null,(0,i.jsx)(P,{label:"Do you have a blended family?",value:e.blendedFamily,onChange:e=>A("blendedFamily",e),hint:"Stepchildren or children from a prior relationship"}),(0,i.jsxs)("div",{className:m().toggleRow,children:[(0,i.jsx)("div",{className:m().lbl,children:"How many heirs or beneficiaries?"}),(0,i.jsx)(I,{value:e.numHeirs,onChange:e=>A("numHeirs",e),invalid:!!(null==v?void 0:v.heirs),describedBy:(null==v?void 0:v.heirs)?C:void 0})]}),(null==v?void 0:v.heirs)?(0,i.jsx)("p",{id:C,className:m().fieldErr,children:v.he
1irs}):null,(0,i.jsx)(P,{label:"Divide assets equally among heirs?",value:e.divideEqually,onChange:e=>A("divideEqually",e)}),(0,i.jsx)(P,{label:"Include specific or charitable gifts?",value:e.includeGifts,onChange:e=>A("includeGifts",e)}),e.includeGifts?(0,i.jsx)("div",{className:m().field,style:{marginTop:14},children:(0,i.jsx)(D,{id:"c-gifts",label:"Total Specific / Charitable Gifts",value:e.giftsAmount,onChange:e=>A("giftsAmount",e)})}):null]}),(0,i.jsxs)(p,{step:"D",title:"Planning Status",sub:"What's documented",isOpen:"D"===t,done:H,onToggle:()=>d("D"===t?null:"D"),children:[(0,i.jsx)(P,{label:"Do you have a will?",value:e.hasWill,onChange:e=>A("hasWill",e)}),(0,i.jsx)(P,{label:"Do you have a trust?",value:e.hasTrust,onChange:e=>A("hasTrust",e)}),(0,i.jsx)(P,{label:"Are your beneficiaries up to date?",value:e.beneficiariesUpToDate,onChange:e=>A("beneficiariesUpToDate",e)}),(0,i.jsx)(P,{label:"Do you own a home?",value:e.ownsHome,onChange:e=>A("ownsHome",e)}),(0,i.jsx)(P,{label:"Own property in more than one state?",value:e.multiStateProperty,onChange:e=>A("multiStateProperty",e)}),(0,i.jsx)(O,{value:e.state,onChange:e=>A("state",e),error:null==v?void 0:v.state})]}),(0,i.jsxs)("div",{className:m().calcFoot,children:[v?(0,i.jsxs)("div",{className:m().formError,role:"alert",children:[(0,i.jsx)(l,{width:17,height:17})," Please review the highlighted fields before calculating your estimate."]}):null,(0,i.jsxs)("button",{type:"button",className:(0,o.A)(m().btn,m().btnPrimary,m().btnBlock,m().btnLg),onClick:()=>{let a=(e=>{let a={};return 0>=b.reduce((a,t)=>a+L(e[t.key]),0)&&(a.assets="Enter at least one asset value to estimate an inheritance."),e.state||(a.state="Choose your state so probate and tax estimates apply."),1>(Number(e.numHeirs)||0)&&(a.heirs="Number of heirs must be at least one."),a})(e);if(Object.keys(a).length){y(a),a.assets?d("A"):a.heirs?d("C"):a.state&&d("D");return}y(null),u((e=>{let a,t={};b.forEach(a=>{t[a.key]=L(e[a.key])});let i=b.reduce((e,a)=>e+t[a.key],0),n={};_.forEach(a=>{n[a.key]=L(e[a.key])});let l=L(e.funeralExpenses),r=_.reduce((e,a)=>e+n[a.key],0),s=Math.max(0,i-r-l),c=Math.max(0,t.homeValue-n.mortgageBalance)+t.checkingSavings+t.vehicles+t.personalProperty+t.businessValue+t.otherAssets;!1===e.beneficiariesUpToDate&&(c+=t.investments);let o=.03,d=.6*c;!0===e.hasTrust?(o=.01,d=.2*c):!1===e.hasTrust&&(o=.05,d=c),e.multiStateProperty&&(o+=.015);let h=Math.round(d*o),u=.4*Math.max(0,s-15e6);e.married&&(u=.4*Math.max(0,s-3e7));let m=0,p=g[e.state];p&&(m="estate"===p.kind?Math.max(0,s-(p.threshold||0))*p.rate:((e,a,t,i,n)=>{if(!0===t)return 0;let l=!1===t&&!1===i,r=!0===i;return"NJ"===e||"KY"===e?r?0:l?a*n:0:"NE"===e?r?.01*Math.max(0,a-1e5):l?a*n:0:"PA"===e?r||l?a*n:0:l?a*n:0})(e.state,s,e.married,e.hasChildren,p.rate));let v=Math.round(u+m),f=s>0?Math.round(Math.min(Math.max(.01*s,1500),3e4)):0,x=Math.max(0,i-r-l-h-v-f),y=e.includeGifts?L(e.giftsAmount):0,w=Math.min(y,x),j=x-w,k=Math.max(1,Math.floor(L(e.numHeirs)||1)),N=p&&"estate"===p.kind&&p.threshold||1e6,C=[{hit:!1===e.hasWill,label:"No will in place"},{hit:!1===e.hasTrust,label:"No trust in place"},{hit:!!e.ownsHome||t.homeValue>0,label:"Owns a home"},{hit:!!e.minorChildren,label:"Has children under 18"},{hit:!!e.blendedFamily,label:"Blended family"},{hit:!1===e.beneficiariesUpToDate,label:"Beneficiaries not up to date"},{hit:!!e.multiStateProperty,label:"Property in more than one state"},{hit:t.businessValue>0,label:"Business ownership"},{hit:i>0&&r>.3*i,label:"Significant debt load"},{hit:i>N,label:"Estate above a planning threshold"}].filter(e=>e.hit),A=C.length,M=(a=A)<=2?"low":a<=5?"moderate":"high";return{grossEstate:i,netEstate:s,totalDebts:r,finalExpenses:l,probateCost:h,taxes:v,adminFees:f,adminAndProbate:h+f,charitableGifts:w,requestedGifts:y,giftsCapped:y>w,totalReductions:r+l+h+v+f+w,inheritanceAvailable:j,heirs:k,perHeir:j/k,divideEqually:!1!==e.divideEqually,gapScore:A,gapTier:M,activeFactors:C,federalTax:Math.round(u),stateTax:Math.round(m),hasStateTax:!!p,stateTaxKind:p?p.kind:null}})(e)),requestAnimationFrame(()=>{var e;if(w.current){let e=w.current.getBoundingClientRect().top+window.pageYOffset-64;window.scrollTo({top:e,behavior:"smooth"})}null==(e=j.current)||e.focus()})},"data-testid":"calculate-button",children:["See Estimate ",(0,i.jsx)(r.A,{width:18,height:18})]}),(0,i.jsx)("button",{type:"button",className:m().reset,onClick:()=>{a({...f}),u(null),y(null),d("A")},children:"Reset Calculator"})]})]})}),(0,i.jsx)("div",{ref:w,children:(0,i.jsx)("section",{className:m().section,children:(0,i.jsxs)("div",{className:(0,o.A)(m().wrap,m().wrapNarrow),style:{padding:0},children:[(0,i.jsx)("p",{className:m().sectionLabel,children:"Your estimate"}
1),(0,i.jsx)("h2",{ref:j,tabIndex:-1,children:"What is my inheritance estimate?"}),h?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(B,{result:h}),(0,i.jsxs)("div",{className:m().disclaimer,style:{marginTop:24},children:[(0,i.jsx)(c,{width:17,height:17}),(0,i.jsx)("span",{children:"The results provided by this calculator are estimates for educational and informational purposes only. They do not constitute legal, tax, financial, or investment advice."})]}),(0,i.jsxs)("div",{className:m().disclaimer,style:{marginTop:12},children:[(0,i.jsx)(c,{width:17,height:17}),(0,i.jsx)("span",{children:"Actual inheritance amounts depend on many factors not captured here, including debts, claims against the estate, specific bequests, tax elections, and applicable state and federal laws. This estimate is illustrative only."})]})]}):(0,i.jsxs)("div",{className:m().empty,"data-testid":"inheritance-empty",children:[(0,i.jsx)(s,{width:30,height:30}),(0,i.jsx)("p",{children:"Enter a few details about your assets, debts, and family above to see an estimate of what your loved ones may receive."})]})]})})}),h?(0,i.jsx)("section",{className:(0,o.A)(m().section,m().interp),children:(0,i.jsxs)("div",{className:(0,o.A)(m().wrap,m().wrapNarrow),style:{padding:0},children:[(0,i.jsx)("p",{className:m().sectionLabel,children:"What this means"}),(0,i.jsxs)("h2",{children:["What this means for ",(0,i.jsx)("em",{children:"your family"})]}),(0,i.jsx)("p",{className:m().interpLead,children:x[h.gapTier]}),(0,i.jsx)(E,{})]})}):null]})}},81149:e=>{e.exports={page:"inheritance_page__Ola9z",req:"inheritance_req__ZtQHv",lbl:"inheritance_lbl__UdwRQ",stateLabel:"inheritance_stateLabel__4cD82",wrap:"inheritance_wrap___57FR",wrapNarrow:"inheritance_wrapNarrow__m5SuO",btn:"inheritance_btn__M5_Fv",btnPrimary:"inheritance_btnPrimary__5K3B0",btnBlock:"inheritance_btnBlock__BGBkD",btnLg:"inheritance_btnLg__ZIo1H",section:"inheritance_section__a2nDc",sectionLabel:"inheritance_sectionLabel__MMQFJ",calc:"inheritance_calc__VBo9w",calcCard:"inheritance_calcCard__vaOVx",calcHead:"inheritance_calcHead__gF7NN",consentWrap:"inheritance_consentWrap__sEpwb",consent:"inheritance_consent__Uc9PI",acc:"inheritance_acc__zaZfK",accHead:"inheritance_accHead__TyiCK",accStep:"inheritance_accStep__RoBN2",accDone:"inheritance_accDone__my6G7",accTitles:"inheritance_accTitles__cXv6b",accTitle:"inheritance_accTitle__ilqHG",accSub:"inheritance_accSub__TOZb_",accAmt:"inheritance_accAmt__DeYLO",accChev:"inheritance_accChev__G3G7z",accOpen:"inheritance_accOpen__4Ahu5",accBody:"inheritance_accBody__tO6Lx",field:"inheritance_field__HET7V",fieldLabel:"inheritance_fieldLabel__YwSjZ",
1inputMoney:"inheritance_inputMoney__jnCuD",input:"inheritance_input__OGYCk",inputErr:"inheritance_inputErr__Q84BI",fieldErr:"inheritance_fieldErr__ov9Le",grid2:"inheritance_grid2__aWnZd",toggleRow:"inheritance_toggleRow__WK1Yr",seg:"inheritance_seg__rOFk_",stepper:"inheritance_stepper__c18oN",calcFoot:"inheritance_calcFoot__Z9Pgl",formError:"inheritance_formError__RLSJk",reset:"inheritance_reset__q73IZ",empty:"inheritance_empty__LBtfb",headlineCards:"inheritance_headlineCards__X8_8A",hcard:"inheritance_hcard__VM3xb",hcardPrimary:"inheritance_hcardPrimary__Ue0ab",hcardSecondary:"inheritance_hcardSecondary___Und9",hcardLabel:"inheritance_hcardLabel__QlB_Q",hcardNum:"inheritance_hcardNum__Cn6DP",hcardFoot:"inheritance_hcardFoot__jeDvP",hcardCircle:"inheritance_hcardCircle__UOxwD",keyrows:"inheritance_keyrows__tvlrP",keyrow:"inheritance_keyrow__4A7Fb",keyrowTotal:"inheritance_keyrowTotal__fkuJr",keyrowL:"inheritance_keyrowL__9MA8N",keyrowName:"inheritance_keyrowName__XxrX6",keyrowDesc:"inheritance_keyrowDesc__Kxatf",keyrowVal:"inheritance_keyrowVal__6EvTg",keyrowValNeg:"inheritance_keyrowValNeg__AD2pg",block:"inheritance_block__i90mD",blockSub:"inheritance_blockSub__g0jvU",wf:"inheritance_wf__nyIP9",wfRow:"inheritance_wfRow__XKHZs",wfTrack:"inheritance_wfTrack__0_OLv",wfBar:"inheritance_wfBar__Jt6it",wfMeta:"inheritance_wfMeta__R7hV6",wfName:"inheritance_wfName__sy9RP",wfAmt:"inheritance_wfAmt__SL6MM",wfAmtMinus:"inheritance_wfAmtMinus__Lk3u5",wfRowResult:"inheritance_wfRowResult__2yteH",allocbar:"inheritance_allocbar__shm7V",allocLegend:"inheritance_allocLegend__3XHli",allocItem:"inheritance_allocItem__y6Jjx",allocDot:"inheritance_allocDot__AB41z",allocName:"inheritance_allocName__81Pwm",allocVal:"inheritance_allocVal__UK45_",allocPct:"inheritance_allocPct__DVMWN",gapbadge:"inheritance_gapbadge__mIhED",gapLow:"inheritance_gapLow__TY7Yk",gapMod:"inheritance_gapMod__JQnb1",gapHigh:"inheritance_gapHigh__LT7CT",dot:"inheritance_dot__6pTsy",interp:"inheritance_interp__KE_jO",interpLead:"inheritance_interpLead__3JFOV",explGrid:"inheritance_explGrid__e80Od",expl:"inheritance_expl__t5KRX",explIco:"inheritance_explIco__YlhUS",disclaimer:"inheritance_disclaimer__1qSsQ",fieldFull:"inheritance_fieldFull__JU44m"}}}]);
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.