{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/auto/constants.js","webpack://elevations-credit-union/./src/containers/calculators/auto/lease-or-purchase.js","webpack://elevations-credit-union/./src/pages/calculators/auto/lease-or-purchase.es-US.js"],"names":["anchorLinkSections","t","useTranslation","title","defaultValue","anchorLinks","to","name","CrossSellTout","richHeadline","nodeType","data","content","marks","value","buttonUrl","buttonCta","buttonAlt","AutoLeaseOrPurchasePage","pageContext","location","usePages","calculatorsPage","autoPage","pageData","sectionTitle","richBody","navMenus","pathname","urlPath","menu","subnav","showSubnav","language","langKey","pageTitle","sections","calculator"],"mappings":"sOAGMA,EAAqB,WACzB,IAAOC,GAAKC,SAAZ,GAmCA,MAlCa,CACX,CACEC,MAAOF,EAAE,mCAAoC,CAC3CG,aAAc,gBAEhBC,YAAa,CACX,CACEC,GAAI,oBACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,mCAGlB,CACEE,GAAI,wCACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,kCAGlB,CACEE,GAAI,sCACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,kCAGlB,CACEE,GAAI,mCACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,yCAapBI,EAAgB,WACpB,IAAOP,GAAKC,SAAZ,GAEMO,EAAe,CACnBC,SAAU,WACVC,KAAM,GACNC,QAAS,CACP,CACEF,SAAU,YACVE,QAAS,CACP,CACEF,SAAU,OACVG,MAAO,GACPC,MAAOb,EAAE,iCAAkC,CACzCG,aACE,kFAEJO,KAAM,KAGVA,KAAM,MAKZ,OACE,SAAC,IAAD,CACEF,aAAcA,EACdM,UAAU,oBACVC,UAAWf,EAAE,+BAAgC,CAC3CG,aAAc,eAEhBa,UAAWhB,EAAE,kCAAmC,CAC9CG,aAAc,oC,0KCpEhBc,EAA0B,SAAC,GAA+B,IAA7BC,EAA4B,EAA5BA,YAAaC,EAAe,EAAfA,SACvCnB,GAAKC,SAAZ,GACA,GAAsCmB,SAA9BC,EAAR,EAAQA,gBAAiBC,EAAzB,EAAyBA,SAEnBC,EAAW,CACf,CACEC,aAAcxB,EAAE,mCAAoC,CAClDG,aAAc,iCAEhBsB,SAAU,CACRhB,SAAU,WACVC,KAAM,GACNC,QAAS,CACP,CACEF,SAAU,YACVE,QAAS,CACP,CACEF,SAAU,OACVG,MAAO,GACPC,MAAOb,EAAE,sCAAuC,CAC9CG,aACE,mIAEJO,KAAM,KAGVA,KAAM,QAOhB,OACE,SAAC,IAAD,CAAgBQ,YAAaA,EAA7B,SACG,gBAAGQ,EAAH,EAAGA,SAAH,OACC,UAAC,IAAD,CACEP,SAAUA,EACVD,YAAW,iBAAOA,EAAP,CAAoBS,SAAUL,EAASM,UAClDC,KAAI,iBAAOH,EAAP,CAAiBI,OAAQ,CAACT,KAC9BU,YAAU,EAJZ,WAME,SAAC,IAAD,CACEC,SAAUd,EAAYe,QACtB/B,MAAOF,EAAE,oCAAqC,CAC5CG,aAAc,iCAEhBwB,SAAS,yCAEX,SAAC,IAAD,CACEO,UAAWlC,EAAE,gCAAiC,CAC5CG,aAAc,qBAEhBgC,SAAUZ,EACVa,YAAY,SAAC,KAAD,IACZrC,oBAAoBA,aAEtB,SAAC,KAAD,Y,yDCjEV,UAAekB,EAAf","file":"component---src-pages-calculators-auto-lease-or-purchase-es-us-js-3aee673c48a5847aeb87.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('CalculatorPageAuto.sidebarHeader', {\n defaultValue: 'Calculators',\n }),\n anchorLinks: [\n {\n to: '/calculators/auto',\n name: t('CalculatorPageAuto.sidebarLink1', {\n defaultValue: 'What will my car payments be?',\n }),\n },\n {\n to: '/calculators/auto/how-much-can-afford',\n name: t('CalculatorPageAuto.sidebarLink2', {\n defaultValue: 'What price car can I afford?',\n }),\n },\n {\n to: '/calculators/auto/lease-or-purchase',\n name: t('CalculatorPageAuto.sidebarLink3', {\n defaultValue: 'Should I buy or lease a car?',\n }),\n },\n {\n to: '/calculators/auto/refinance-auto',\n name: t('CalculatorPageAuto.sidebarLink4', {\n defaultValue: 'Should I refinance my car loan?',\n }),\n },\n ],\n },\n ]\n\n return data\n}\n\nexport { anchorLinkSections }\nexport default anchorLinkSections\n\nconst CrossSellTout = () => {\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('CalculatorPageAuto.ctaHeadline', {\n defaultValue:\n \"You've crunched the numbers. Now see how we can help you with your auto loan.\",\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n }\n\n return (\n \n )\n}\n\nexport { CrossSellTout }\n","import PropTypes from 'prop-types'\nimport { 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 { AutoLeaseCalculator } from '../../../components/calculators'\nimport { anchorLinkSections, CrossSellTout } from './constants'\nimport { usePages } from '../constants'\n\nconst AutoLeaseOrPurchasePage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, autoPage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('AutoLeaseOrPurchasePage.subTitle', {\n defaultValue: 'Should I buy or lease a car?',\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('AutoLeaseOrPurchasePage.textContent', {\n defaultValue:\n 'Which is better: buying or leasing? Compare both options with our calculator by seeing how much you’d pay under each scenario.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n },\n },\n ]\n\n return (\n \n {({ navMenus }) => (\n \n \n }\n anchorLinkSections={anchorLinkSections()}\n />\n \n \n )}\n \n )\n}\n\nAutoLeaseOrPurchasePage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { AutoLeaseOrPurchasePage }\nexport default AutoLeaseOrPurchasePage\n","import { AutoLeaseOrPurchasePage } from '../../../containers/calculators/auto/lease-or-purchase'\n\nexport default AutoLeaseOrPurchasePage\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/auto/lease-or-purchase'\n"],"sourceRoot":""}