{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/mortgage/constants.js","webpack://elevations-credit-union/./src/containers/calculators/mortgage/home-equity.js","webpack://elevations-credit-union/./src/pages/calculators/mortgage/home-equity.es-US.js"],"names":["anchorLinkSections","t","useTranslation","title","defaultValue","anchorLinks","to","name","subtitle","target","CrossSellToutMortgage","richHeadline","nodeType","data","content","marks","value","buttonUrl","buttonCta","buttonAlt","CrossSellToutRefinance","CrossSellToutEquity","HomeEquityPage","pageContext","location","usePages","calculatorsPage","mortgagePage","pageData","sectionTitle","richBody","uri","CalcTips","i18nKey","navMenus","pathname","urlPath","menu","subnav","showSubnav","language","langKey","pageTitle","sections","calculator","calcTips"],"mappings":"qRAGMA,EAAqB,WACzB,IAAOC,GAAKC,SAAZ,GA8EA,MA7Ea,CACX,CACEC,MAAOF,EAAE,uCAAwC,CAC/CG,aAAc,gBAEhBC,YAAa,CACX,CACEC,GAAI,wBACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,kCAGlB,CACEE,GAAI,iCACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,wCAGlB,CACEE,GAAI,yCACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,qCAGlB,CACEE,GAAI,oCACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,kDAGlB,CACEE,GAAI,oCACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,mDAKtB,CACED,MAAOF,EAAE,wCAAyC,CAChDG,aAAc,qBAEhBI,SAAUP,EAAE,yCAA0C,CACpDG,aAAc,yBAEhBC,YAAa,CACX,CACEC,GAAI,qEACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,4CAEhBK,OAAQ,UAEV,CACEH,GAAI,oEACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,oDAEhBK,OAAQ,UAEV,CACEH,GAAI,8DACJC,KAAMN,EAAE,sCAAuC,CAC7CG,aAAc,wCAEhBK,OAAQ,UAEV,CACEH,GAA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C,KAAD,Y,yDCpHV,UAAeV,EAAf","file":"component---src-pages-calculators-mortgage-home-equity-es-us-js-60ea9e069e3b0a84cd89.js","sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { ElevatedTitleCentered } from '../../../components/modules/ElevatedTitleCentered'\n\nconst anchorLinkSections = () => {\n const [t] = useTranslation()\n const data = [\n {\n title: t('CalculatorPageMortgage.sidebarHeader', {\n defaultValue: 'Calculators',\n }),\n anchorLinks: [\n {\n to: '/calculators/mortgage',\n name: t('CalculatorPageMortgage.sidebarLink2', {\n defaultValue: 'Should I rent or buy a home?',\n }),\n },\n {\n to: '/calculators/mortgage/payments',\n name: t('CalculatorPageMortgage.sidebarLink1', {\n defaultValue: 'What will my mortgage payments be?',\n }),\n },\n {\n to: '/calculators/mortgage/should-refinance',\n name: t('CalculatorPageMortgage.sidebarLink4', {\n defaultValue: 'Should I refinance my mortgage?',\n }),\n },\n {\n to: '/calculators/mortgage/home-equity',\n name: t('CalculatorPageMortgage.sidebarLink3', {\n defaultValue: \"How much can I borrow from my home's equity?\",\n }),\n },\n {\n to: '/calculators/mortgage/tax-savings',\n name: t('CalculatorPageMortgage.sidebarLink5', {\n defaultValue: 'How much will my mortgage save me in taxes?',\n }),\n },\n ],\n },\n {\n title: t('CalculatorPageMortgage.sidebarHeader2', {\n defaultValue: 'More Calculators',\n }),\n subtitle: t('CalculatorPageMortgage.sidebarSubtitle', {\n defaultValue: 'Powered by EllieMaeĀ®',\n }),\n anchorLinks: [\n {\n to: 'https://elevationscu.mymortgage-online.com/RefinanceBreakEven.html',\n name: t('CalculatorPageMortgage.sidebarLink6', {\n defaultValue: 'When would I break even by refinancing?',\n }),\n target: '_blank',\n },\n {\n to: 'https://elevationscu.mymortgage-online.com/PrepaymentSavings.html',\n name: t('CalculatorPageMortgage.sidebarLink7', {\n defaultValue: 'How much could I save by prepaying my mortgage?',\n }),\n target: '_blank',\n },\n {\n to: 'https://elevationscu.mymortgage-online.com/EarlyPayoff.html',\n name: t('CalculatorPageMortgage.sidebarLink8', {\n defaultValue: 'Should I pay off my mortgage early?',\n }),\n target: '_blank',\n },\n {\n to: 'https://elevationscu.mymortgage-online.com/DebtConsolidation.html',\n name: t('CalculatorPageMortgage.sidebarLink9', {\n defaultValue: 'Should I consolidate other debt with my mortgage?',\n }),\n target: '_blank',\n },\n ],\n },\n ]\n return data\n}\n\nexport { anchorLinkSections }\nexport default anchorLinkSections\n\nconst CrossSellToutMortgage = () => {\n const [t] = useTranslation()\n\n const richHeadline = {\n nodeType: 'document',\n data: {},\n content: [\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('CalculatorPageMortgage.ctaHeadlineMortgage', {\n defaultValue: 'If your next home is adding up, we can help make it happen.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n }\n\n return (\n \n )\n}\n\nexport { CrossSellToutMortgage }\n\nconst CrossSellToutRefinance = () => {\n const [t] = useTranslation()\n\n const richHeadline = {\n nodeType: 'document',\n data: {},\n content: [\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('CalculatorPageMortgage.ctaHeadlineRefinance', {\n defaultValue: 'Ready to refinance? Take the next step.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n }\n\n return (\n \n )\n}\n\nexport { CrossSellToutRefinance }\n\nconst CrossSellToutEquity = () => {\n const [t] = useTranslation()\n\n const richHeadline = {\n nodeType: 'document',\n data: {},\n content: [\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('CalculatorPageMortgage.ctaHeadlineEquity', {\n defaultValue: \"We can help put your home's equity to work.\",\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n }\n\n return (\n \n )\n}\n\nexport { CrossSellToutEquity }\n","import PropTypes from 'prop-types'\nimport { Trans, useTranslation } from 'react-i18next'\nimport { StaticTemplate } from '../../../templates/staticTemplate'\nimport { Layout } from '../../../components/layouts/layout'\nimport { PageMeta } from '../../../components/page-meta'\nimport { CalculatorSectionModule } from '../../../components/modules/CalculatorSectionModule'\nimport { HomeEquityCalculator } from '../../../components/calculators'\nimport { anchorLinkSections, CrossSellToutEquity } from './constants'\nimport { usePages } from '../constants'\n\nconst HomeEquityPage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, mortgagePage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('HomeEquityPage.subTitle', {\n defaultValue: \"How much can I borrow from my home's equity?\",\n }),\n richBody: {\n nodeType: 'document',\n data: {},\n content: [\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('HomeEquityPage.textContent', {\n defaultValue:\n 'What if your house was made of money? It just might be. Use this home equity calculator to see how much you might be able to borrow from your home equity (the value of your home above what you still owe on your loan).',\n }),\n data: {},\n },\n ],\n data: {},\n },\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('HomeEquityPage.textContent2a', {\n defaultValue:\n 'While this calculator can help you understand how much you might be able to borrow, all numbers provided here are estimates. Please ',\n }),\n data: {},\n },\n {\n nodeType: 'hyperlink',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('HomeEquityPage.textContent2b', {\n defaultValue: 'talk to a Mortgage Loan Officer',\n }),\n data: {},\n },\n ],\n data: {\n uri: `/home-lending/mortgage-team`,\n },\n },\n {\n nodeType: 'text',\n marks: [],\n value: t('HomeEquityPage.textContent2c', {\n defaultValue: ' about what you may qualify for.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n },\n },\n ]\n\n const CalcTips = () => (\n \n

\n The maximum loan-to-value (LTV) that lenders allow varies based on a number of factors, but\n it is typically no more than 80% for an owner-occupied residence. To calculate your LTV\n ratio, divide the amount left to pay on your loan by the current appraised value of your\n house. For example, $200,000 left to pay on loan/$400,000 appraised value = 50% LTV.\n

\n
\n )\n\n return (\n \n {({ navMenus }) => (\n \n \n }\n anchorLinkSections={anchorLinkSections()}\n calcTips={}\n />\n \n \n )}\n \n )\n}\n\nHomeEquityPage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { HomeEquityPage }\nexport default HomeEquityPage\n","import { HomeEquityPage } from '../../../containers/calculators/mortgage/home-equity'\n\nexport default HomeEquityPage\n\n// This should work but doesn't in prod build\n// https://github.com/gatsbyjs/gatsby/issues/12384\n// import { default } from '../../../containers/calculators/mortgage/home-equity'\n"],"sourceRoot":""}