{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/mortgage/constants.js","webpack://elevations-credit-union/./src/containers/calculators/mortgage/rent-or-own.js","webpack://elevations-credit-union/./src/pages/calculators/mortgage/index.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","RentVsOwnPage","pageContext","location","usePages","calculatorsPage","mortgagePage","pageData","sectionTitle","richBody","uri","CalcTips","i18nKey","href","rel","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,CACE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AAD,CACEC,SAAUnB,EAAYoB,QACtBxC,MAAOF,EAAE,0BAA2B,CAClCG,aAAc,2BAEhBiC,SAAS,2BAEX,SAAC,IAAD,CACEO,UAAW3C,EAAE,sBAAuB,CAClCG,aAAc,yBAEhByC,SAAUjB,EACVkB,YAAY,SAAC,KAAD,IACZ9C,oBAAoBA,UACpB+C,UAAU,SAACf,EAAD,OAEZ,SAAC,KAAD,Y,uDClJV,UAAeV,EAAf","file":"component---src-pages-calculators-mortgage-index-es-us-js-642745ab7cf40b19a66a.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 { UnstyledLink } from '../../../components/typography/UnstyledLink'\nimport { PageMeta } from '../../../components/page-meta'\nimport { CalculatorSectionModule } from '../../../components/modules/CalculatorSectionModule'\nimport { anchorLinkSections, CrossSellToutMortgage } from './constants'\nimport { usePages } from '../constants'\nimport { RentOrBuyCalculator } from '../../../components/calculators'\n\nconst RentVsOwnPage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, mortgagePage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('RentVsOwnPage.subTitle', {\n defaultValue: 'Should I rent or buy a home?',\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('RentVsOwnPage.textContent', {\n defaultValue:\n \"If you're trying to decide whether to rent or buy, this calculator can help you see the big financial picture.\",\n }),\n data: {},\n },\n ],\n data: {},\n },\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('RentVsOwnPage.textContent2a', {\n defaultValue:\n 'While this calculator can help you compare the costs of buying versus renting, 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('RentVsOwnPage.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('RentVsOwnPage.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 Rent assumptions:
\n To help estimate annual rent increases, try doing an online search for\n \"average rent increase\" in your area.\n

\n

\n Purchase assumptions:
\n To help estimate annual appreciation rate, try doing an online search for\n \"annual appreciation rate\" in your area.\n

\n

\n Annual homeowners insurance premiums can vary significantly depending on\n the location and age of the house, and the type of coverage you choose. The Colorado\n Division of Insurance offers{' '}\n \n a reporting tool\n {' '}\n that lets you browse costs in your area.{' '}\n

\n

\n Annual property taxes are calculated based on assessed value in Colorado.\n To find the assessed value, take the value of the home you are interested in purchasing and\n multiply it by the current residential assessment rate. Then multiply this assessed value by\n the tax rate in your area. A quick online search for “annual property taxes” in your area\n can help you estimate this number.\n

\n

\n Annual maintenance costs will also vary based on the home you purchase.\n Consider factoring in $1,000 or more for this field.\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\nRentVsOwnPage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { RentVsOwnPage }\nexport default RentVsOwnPage\n","import { RentVsOwnPage } from '../../../containers/calculators/mortgage/rent-or-own'\n\nexport default RentVsOwnPage\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/rent-or-own'\n"],"sourceRoot":""}