{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/mortgage/constants.js","webpack://elevations-credit-union/./src/containers/calculators/mortgage/payments.js","webpack://elevations-credit-union/./src/pages/calculators/mortgage/payments.en-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","MortgageCalculatorPage","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,GAAI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BAAoBA,UACpB6C,UAAU,SAACb,EAAD,OAEZ,SAAC,KAAD,Y,yDC1HV,UAAeV,EAAf","file":"component---src-pages-calculators-mortgage-payments-en-us-js-bf2c1a0b70c98f18eb72.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 { MonthlyPaymentCalculator } from '../../../components/calculators'\nimport { anchorLinkSections, CrossSellToutMortgage } from './constants'\nimport { usePages } from '../constants'\n\nconst MortgageCalculatorPage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, mortgagePage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('MortgageCalculatorPage.subTitle', {\n defaultValue: 'What will my mortgage payments be?',\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('MortgageCalculatorPage.textContent', {\n defaultValue:\n 'Use this mortgage payment calculator to get a better picture of what monthly payments to expect based on your house price, interest rate and down payment. You’ll also see the total amount of interest over the term of the loan.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('MortgageCalculatorPage.textContent2a', {\n defaultValue:\n 'While this calculator can help you understand the costs of buying a home, 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('MortgageCalculatorPage.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('MortgageCalculatorPage.textContent2c', {\n defaultValue: ' about what your actual costs may be.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n },\n },\n ]\n\n const CalcTips = () => (\n \n

\n If you select \"yes\" to{' '}\n \n let us estimate property taxes, insurance and private mortgage insurance (PMI)\n \n , we will use national averages to give you a rough idea.\n

\n\n

\n PMI is typically required if your down payment is less than 20% and insures\n the lender against losses in the event of foreclosure.\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\nMortgageCalculatorPage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { MortgageCalculatorPage }\nexport default MortgageCalculatorPage\n","import { MortgageCalculatorPage } from '../../../containers/calculators/mortgage/payments'\n\nexport default MortgageCalculatorPage\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/payments'\n"],"sourceRoot":""}