{"version":3,"sources":["webpack:///./src/components/Icons/QuestionIcon.vue?2cb0","webpack:///./src/components/Layout/AppContent.vue?e8d1","webpack:///./src/components/Layout/AppContent.vue","webpack:///./src/components/Layout/AppContent.vue?60d6","webpack:///./src/components/Layout/AppContent.vue?98b0","webpack:///./src/components/Ui/AsHeadline.vue?8bc5","webpack:///./src/components/Ui/AsHeadline.vue?01a7","webpack:///./src/components/Modals/Deny.vue?c6cf","webpack:///./src/components/Layout/AppContent.vue?8dd2","webpack:///./src/components/Ui/AsHeadline.vue?f2e0","webpack:///./src/util/consent.ts","webpack:///./src/components/Ui/AsModal.vue?235a","webpack:///./node_modules/core-js/modules/es.string.ends-with.js","webpack:///./src/components/Icons/QuestionIcon.vue?f9e7","webpack:///./src/components/Icons/QuestionIcon.vue?df0c","webpack:///./src/components/Ui/AsModal.vue?542c","webpack:///./src/components/Ui/AsModal.vue","webpack:///./src/components/Ui/AsModal.vue?463e","webpack:///./src/components/Ui/AsModal.vue?d42c","webpack:///./src/util/i18n.ts","webpack:///./src/components/Modals/Deny.vue?b50c","webpack:///./src/components/Modals/Deny.vue","webpack:///./src/components/Modals/Deny.vue?8b49","webpack:///./src/components/Modals/Deny.vue?d4e8"],"names":["render","_vm","this","_h","$createElement","_c","_self","class","busy","safariDesktop","safari","attrs","name","on","$event","preventDefault","$emit","title","staticClass","_v","_s","_e","_t","staticRenderFns","extend","components","AsHeadline","LoadingSpinner","props","String","Boolean","computed","watch","immediate","handler","domain","location","hostname","split","startsWith","endsWith","document","a","component","script","getReasons","accessReason","client","daysOfTransactions","toLowerCase","Credit","Broker","BrokerFF","PersonalFinanceManagerJC","CreditVodafone","CreditNext","CreditSTB","CreditOptimum","CreditAccountManagement","Identity","Comparison","PersonalFinanceManager","DebtManagement","Collections","TenantReference","DebtAdvice","DebtAdviceFJ","DebtAdviceMP","TrustDeed","ValueAlignedSpending","LoanReview","getTransactionTimeFrame","VerifyIncomeVanquis","VerifyIncome","StandardVerifyIncome","CreditFintern","StandardBroker","StandardForbearance","BasicCredit","CreditSME","CreditSMEID","ServiceAccess","CreditID","CreditLL","CreditPlus","GrantAssessment","VerifyIncomeStandard","IDInternational","IncomeAffordability","VerifyIncomeAnalytics","BrokerToken","BrokerTokenFF","ResearchDevelopment","GrantCriteria","VerifyAndDispatch","VerifyIncomePivotal","IncomeAffordabilityUU","TenantRefAffordability","TenantAffordability","VerifyBank","CreditRiskMasthaven","AffordabilityMortgageable","OBID_FHI","CarbonFootprint","DebtAdviceT","BrokerFF2022","CreditCBS","CreditHandelsbanken","TransactionVulnerabilityIndicators","ApplyPlus","CreditBT","HastingsInsurance","isEs","locale","getPeriod","accessFrequency","getFrequency","oneoff","tc","unlimited","onceaweek","onceamonth","getTransactions","accessDataType","incoming","outgoing","getAccountDetails","account","balance","getTrueLayerAccountDetails","accounts","transactions","getParties","email","getBeta","$","uncurryThis","getOwnPropertyDescriptor","f","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","prototype","writable","target","proto","forced","searchString","that","endPosition","arguments","length","undefined","len","end","search","ref","close","data","isActive","returnFocusOnDeactivate","CloseIcon","FocusTrap","methods","clickOutside","e","eee","$refs","background","mounted","setTimeout","addEventListener","beforeDestroy","removeEventListener","i18nTemplateString","s","replacer","replace","x","consent","cancel","isTrueLayer","top","_l","r","key","bottom","directives","rawName","value","expression","slot","settingsHelpers","mapGetters","signupHelpers","AsModal","AppContent","QuestionIcon","hasCancelUrl","cancelUrl","overrides","textOverrides","deny","i18n","$t","provider","providers","trueLayer","transactionTimeFrame","reasons","mapActions","signup","triggerWebHookEvent","ConsentsDeniedWebhook","toLocaleLowerCase","customerProgress","ConsentsDeclined","href","navigateTo","Declined","beforeMount","$doWork","getCancelUrl"],"mappings":"8GAAA,W,oCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAA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D,QAAQ,iBAAkBzL,KAAK6C,SAE5C2K,qBAzBM,WA0BF,OAAO,eAAwBxN,KAAK8C,oBAAsB,SAE9D+I,YA5BM,WA6BF,QAAO7L,KAAKsN,UAAUC,WAE1BE,QA/BM,WAgCF,YAA2BzD,IAAvBhK,KAAKgN,UAAUlB,IAA4B,GAExC,eAAW9L,KAAK4C,aAAc5C,KAAK6C,OAAQ7C,KAAK8C,uBAG/D6H,QAAS,gDACF,OAAiB+C,WAAW,CAAC,gBAC7B,OAAaA,WAAW,CAAC,kBAFzB,IAGH9B,OAHK,WAGC,WACF+B,EAAA,KAAOC,oBAAoB,OAAWC,sBAAsBC,qBAC5DH,EAAA,KAAOI,iBAAiB,OAAwBC,kBAChD,iBACIhO,KAAK8M,aACL5B,YAAW,WAAQY,IAAI5J,SAAS+L,KAAO,EAAKlB,WAAa,KAAO,KAGhE/M,KAAKkO,WAAW,OAAgBC,UAEpCnO,KAAKc,MAAM,UAEf6K,QAfK,WAgBD3L,KAAKc,MAAM,YAGnBsN,YA/DsB,WA+DX,WACPpO,KAAKqO,QAAL,wCAAa,8GACH,EAAKC,eADF,+CCtG4X,I,wBCQ7Y7L,EAAY,eACd,EACA3C,EACAuB,GACA,EACA,KACA,WACA,MAIa,aAAAoB,E","file":"js/modal.deny.23b9cc0e.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuestionIcon.vue?vue&type=style&index=0&id=fc78c39a&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{class:['app-content', _vm.busy && _vm.busy, _vm.safariDesktop && 'safariDesktop', _vm.safari && 'safari'],attrs:{\"name\":_vm.name},on:{\"submit\":function($event){$event.preventDefault();return _vm.$emit('submit', $event)},\"reset\":function($event){$event.preventDefault();return _vm.$emit('back', $event)}}},[_c('main',[(!!_vm.title)?_c('as-headline',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._t(\"default\")],2),_c('footer',[_vm._t(\"buttons\")],2),(_vm.busy)?_c('div',{staticClass:\"busy-layer\"},[_c('loading-spinner')],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport AsHeadline from '@/components/Ui/AsHeadline.vue';\r\nimport { isSafari } from '../../util/browser';\r\nimport { isSafariDesktop } from '../../util/browser';\r\n\r\nexport default Vue.extend({\r\n name: 'AppContent',\r\n components: {\r\n AsHeadline,\r\n LoadingSpinner: () => import('@/components/Spinners/LoadingSpinner.vue'),\r\n },\r\n props: {\r\n title: String,\r\n name: String,\r\n busy: Boolean,\r\n },\r\n computed: {\r\n safari() {\r\n return isSafari && !isSafariDesktop;\r\n },\r\n safariDesktop() {\r\n return isSafariDesktop;\r\n },\r\n },\r\n watch: {\r\n title: {\r\n immediate: true,\r\n\r\n handler() {\r\n const domain = location.hostname.split('.');\r\n try {\r\n if (!1 == domain[1].startsWith('consents') || domain[2].endsWith('consents')) {\r\n document.title = this.title + ' - AccountScore';\r\n } else {\r\n document.title = this.title + ' - consents.online';\r\n }\r\n } catch (a) {\r\n document.title = this.title + ' - consents.online';\r\n }\r\n },\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppContent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppContent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppContent.vue?vue&type=template&id=1a10c2c3&scoped=true&\"\nimport script from \"./AppContent.vue?vue&type=script&lang=ts&\"\nexport * from \"./AppContent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AppContent.vue?vue&type=style&index=0&id=1a10c2c3&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1a10c2c3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h1',{staticClass:\"title\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./AsHeadline.vue?vue&type=template&id=428f572a&scoped=true&\"\nvar script = {}\nimport style0 from \"./AsHeadline.vue?vue&type=style&index=0&id=428f572a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"428f572a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Deny.vue?vue&type=style&index=0&id=9d873d24&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppContent.vue?vue&type=style&index=0&id=1a10c2c3&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AsHeadline.vue?vue&type=style&index=0&id=428f572a&lang=scss&scoped=true&\"","import { AccessReason } from '@/types/enum';\r\nimport i18n from '@/i18n';\r\n\r\nexport const getReasons = (accessReason: string, client: string, daysOfTransactions: number) => {\r\n switch (accessReason.toLowerCase()) {\r\n case AccessReason.Credit:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision',\r\n ];\r\n case AccessReason.Broker:\r\n return [\r\n 'Verify your income',\r\n 'To assess your eligibility for lending products',\r\n 'Carry out an affordability and credit assessment',\r\n 'Help to make a responsible lending decision',\r\n ];\r\n case AccessReason.BrokerFF:\r\n return [\r\n 'Verify who you are',\r\n 'Match you with better suited products',\r\n 'Show you how you appear to lenders',\r\n ];\r\n case AccessReason.PersonalFinanceManagerJC:\r\n return [\r\n 'Assess and monitor your financial performance',\r\n ];\r\n case AccessReason.CreditVodafone:\r\n return [\r\n 'Carry out an assessment of our lending criteria to assist with future lending decisions',\r\n ];\r\n case AccessReason.CreditNext:\r\n return [\r\n 'Carry out an affordability assessment',\r\n 'Provide you with a suitable payment plan'\r\n ];\r\n case AccessReason.CreditSTB:\r\n return [\r\n 'Assessing the risk of granting credit',\r\n 'Monitoring and verifying incomings and outgoings in relation to Asset based lending facilities'\r\n ];\r\n case AccessReason.CreditOptimum:\r\n return [\r\n 'To help make ongoing responsible lending decisions',\r\n 'To maintain a transparent relationship between the Optimum Finance team and you'\r\n ];\r\n case AccessReason.CreditAccountManagement:\r\n return [\r\n 'Assist in monitoring your financial circumstances',\r\n 'Provide you with a suitable payment plan',\r\n 'Help decide on your repayment terms',\r\n ];\r\n case AccessReason.Identity:\r\n return ['Verify your Bank Account Information and ID'];\r\n case AccessReason.Comparison:\r\n return [\r\n 'Help determine which offers are best suited to your individual needs',\r\n 'Provide you with customised product comparison offers',\r\n ];\r\n case AccessReason.PersonalFinanceManager:\r\n return ['Assist in monitoring your financial circumstances'];\r\n case AccessReason.DebtManagement:\r\n return [\r\n 'Provide you with a suitable payment plan',\r\n 'Help decide on your repayment terms',\r\n 'Provide you with debt advice and debt management services',\r\n 'Help you in establishing debt management plans and administering debt management plans',\r\n ];\r\n case AccessReason.Collections:\r\n return [\r\n 'Estimate your income and expenditure',\r\n 'Undertake affordability assessments'\r\n ];\r\n case AccessReason.TenantReference:\r\n return ['Verify your income and rental payment history'];\r\n case AccessReason.DebtAdvice:\r\n return [\r\n 'Enable ' + client + ' to pre-complete your income and expenditure',\r\n 'Save time on your review call',\r\n 'More accurate data will help ensure we provide you with suitable advice',\r\n ];\r\n case AccessReason.DebtAdviceFJ:\r\n return [\r\n 'Enable ' +\r\n client +\r\n ' to complete your income and expenditure and confirm your income',\r\n 'Avoid having to find old paperwork',\r\n 'No need to send ' + client + ' evidence or payslips',\r\n 'Helping ' + client + ' to help you finish your IVA on time',\r\n ];\r\n case AccessReason.DebtAdviceMP:\r\n return [\r\n 'Provide you with a suitable debt solution',\r\n 'Help determine an affordable payment',\r\n 'Provide you with debt advice and debt solution services',\r\n 'Help you in establishing and administering a Debt Management Plan, Individual Voluntary Arrangement or Protected Trust Deed',\r\n ];\r\n case AccessReason.TrustDeed:\r\n return ['Help determine the information needed to prepare a Trust Deed on your behalf'];\r\n case AccessReason.ValueAlignedSpending:\r\n return [\r\n 'To calculate how much of your spending is with businesses that align with your values',\r\n 'To give you recommendations for businesses that align with your values'\r\n ];\r\n case AccessReason.LoanReview:\r\n return ['Review your loan payment affordability for the last ' + getTransactionTimeFrame(daysOfTransactions)];\r\n case AccessReason.VerifyIncomeVanquis:\r\n return [\r\n 'Use 3 months of the transactions data collected to verify your income',\r\n 'Collect 12 months of transaction data for analytical purposes to improve our products and services'\r\n ];\r\n case AccessReason.VerifyIncome:\r\n return [\r\n 'To assess your monthly income and expenditure',\r\n 'Verify your source of funds'\r\n ];\r\n case AccessReason.StandardVerifyIncome:\r\n return [\r\n 'To assess your monthly income',\r\n 'Verify your source of funds'\r\n ]\r\n case AccessReason.CreditFintern:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income and account balances',\r\n 'Help to make a responsible lending decision',\r\n 'Proactively monitor and manage credit risk',\r\n 'Allow you to test different affordable payment amounts, and view the associated borrowing cost & time to repay'\r\n ];\r\n case AccessReason.StandardBroker:\r\n return [\r\n 'Match you with better suited products',\r\n 'Validate your income & identity',\r\n 'Carry out an affordability and credit assessment'\r\n ];\r\n case AccessReason.StandardForbearance:\r\n return [\r\n 'Monitor your current financial circumstances',\r\n 'Assess whether ' + client + ' can provide forbearance measures'\r\n ];\r\n case AccessReason.BasicCredit:\r\n return [\r\n 'Checking you can afford the loan',\r\n 'Verifying your income',\r\n 'Help make a responsible lending decision'\r\n ];\r\n case AccessReason.CreditSME:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Help to verify your company financial position',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.CreditSMEID:\r\n return [\r\n 'Verify your Bank Account Information and ID',\r\n 'Carry out an affordability and credit assessment',\r\n 'Help to verify your company financial position',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.ServiceAccess:\r\n return [\r\n 'Carry out an affordability assessment',\r\n 'Verify your income',\r\n 'Help make a responsible access to service decision'\r\n ];\r\n case AccessReason.CreditID:\r\n return [\r\n 'Verify your Bank Account Information and ID',\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.CreditLL:\r\n return [\r\n 'Perform Credit & Affordability Assessments',\r\n 'Help personalise your repayments',\r\n 'Assessing suitability for lending products'\r\n ];\r\n case AccessReason.CreditPlus:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income, expenditure or bank details',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.GrantAssessment:\r\n return [\r\n 'Assess your income and expenditure to establish what level of grant you could be eligible for',\r\n 'Increase the speed of our assessment and payment of grants'\r\n ];\r\n case AccessReason.VerifyIncomeStandard:\r\n return [\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.IDInternational:\r\n return [\r\n 'Verify your Bank Account Information and ID',\r\n 'Help to verify your company financial position',\r\n 'Help to verify your international relationships',\r\n 'Help to make a decision for opening a new business account'\r\n ];\r\n case AccessReason.IncomeAffordability:\r\n return [\r\n 'Verify Your Income',\r\n 'Carry out an affordability and credit assessment'\r\n ];\r\n case AccessReason.VerifyIncomeAnalytics:\r\n return [\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision',\r\n 'For analytical purposes'\r\n ];\r\n case AccessReason.BrokerToken:\r\n return [\r\n 'Verify who you are',\r\n 'Show you how you appear to lenders',\r\n 'Share a token with lenders named in our Privacy Policy to make a lending assessment',\r\n 'Determine which lenders to refer you to for a lending assessment',\r\n ];\r\n case AccessReason.BrokerTokenFF:\r\n return [\r\n 'Verify who you are',\r\n 'Show you how you appear to lenders',\r\n 'Determine which lenders to refer you to for a lending assessment',\r\n 'Share your account and transaction details with the following panel of lenders via Freedom Finance: ',\r\n ];\r\n case AccessReason.ResearchDevelopment:\r\n return [\r\n 'Research, analyse and understand the potential for more personalised and relevant membership features and benefits'\r\n ];\r\n case AccessReason.GrantCriteria:\r\n return [\r\n 'Assess your income and expenditure to establish if you meet the financial criteria for a grant',\r\n 'Increase the speed of our assessment and payment of grants'\r\n ];\r\n case AccessReason.VerifyAndDispatch:\r\n return [\r\n 'Verify your Bank Account information to dispatch your order'\r\n ];\r\n case AccessReason.VerifyIncomePivotal:\r\n return [\r\n 'Carry out an affordability and credit assessment and;',\r\n 'Verify your income'\r\n ];\r\n case AccessReason.IncomeAffordabilityUU:\r\n return [\r\n 'Estimate income',\r\n 'Undertake affordability assessments'\r\n ];\r\n case AccessReason.TenantRefAffordability:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income and rental payment history'\r\n ];\r\n case AccessReason.TenantAffordability:\r\n return [\r\n 'Provide affordability information to letting agents and landlords about a prospective tenant',\r\n 'This includes identification of monthly income, committed outgoings and previous rental payments'\r\n ];\r\n case AccessReason.VerifyBank:\r\n return [\r\n 'Verify your Bank Account Information'\r\n ];\r\n case AccessReason.CreditRiskMasthaven:\r\n return [\r\n 'Proactively monitor and manage credit risk',\r\n 'To help make ongoing responsible lending decisions'\r\n ];\r\n case AccessReason.AffordabilityMortgageable:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision',\r\n 'Share your account and transaction details with Evolution Money via Mortgageable'\r\n ];\r\n case AccessReason.OBID_FHI:\r\n return [\r\n 'Verify your Bank Account Information and ID',\r\n 'Provide you with a score that gives insight into your financial health',\r\n 'Equifax will also perform an ID check on your credit data as part of this application. Any information on the nature of this check can be found here Credit Reference Agency Information Notice (CRAIN) | Equifax UK'\r\n\r\n ];\r\n case AccessReason.CarbonFootprint:\r\n return [\r\n 'Calculate your carbon footprint based on your spending',\r\n 'Recommend behaviours to help you reduce your footprint'\r\n ];\r\n case AccessReason.DebtAdviceT:\r\n return [\r\n 'Provide you with advice, including debt advice services'\r\n ];\r\n case AccessReason.BrokerFF2022:\r\n return [\r\n 'Share your information with lenders expressly instructed by you to receive such information, who may use it to build a better picture of your finances and your affordability in relation to products and services you have requested or enquired about'\r\n ];\r\n case AccessReason.CreditCBS:\r\n return [\r\n 'Verify your income',\r\n 'Carry out an affordability assessment',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.CreditHandelsbanken:\r\n return [\r\n 'Progress an account opening application, and/or',\r\n 'Carry out an affordability and credit assessment, and/or',\r\n 'Help to make a responsible lending decision'\r\n ];\r\n case AccessReason.TransactionVulnerabilityIndicators:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision',\r\n 'To identify and assist with potential financial vulnerability'\r\n ];\r\n case AccessReason.ApplyPlus:\r\n return [\r\n 'ApplyPlus'\r\n ];\r\n case AccessReason.CreditBT:\r\n return [\r\n 'Carry out an affordability and credit assessment',\r\n 'Verify your income',\r\n 'Help to make a responsible lending decision',\r\n 'Help decide on your repayment terms'\r\n ];\r\n case AccessReason.HastingsInsurance:\r\n return [\r\n 'Verify your income, expenditure or bank details',\r\n 'Verify the information you have provided'\r\n ];\r\n default:\r\n return [];\r\n }\r\n};\r\n\r\nexport const getTransactionTimeFrame = (daysOfTransactions: number) => {\r\n let isEs = i18n.locale === 'es-ES';\r\n if (daysOfTransactions === 365) {\r\n return isEs ? 'año' : 'year';\r\n } else if (daysOfTransactions === 730) {\r\n return isEs ? '2 años' : '2 years';\r\n } else if (daysOfTransactions === 1095) {\r\n return isEs ? '3 años' : '3 years';\r\n } else if (daysOfTransactions === 123) {\r\n return isEs ? '4 meses' : '4 months';\r\n } else if (daysOfTransactions === 180 || daysOfTransactions === 182 || daysOfTransactions === 183) {\r\n return isEs ? '6 meses' : '6 months';\r\n } else if (daysOfTransactions === 214) {\r\n return isEs ? '7 meses' : '7 months';\r\n } else if (daysOfTransactions === 396) {\r\n return isEs ? '13 meses' : '13 months';\r\n } else if (daysOfTransactions >= 456 && daysOfTransactions <= 459) {\r\n return isEs ? '15 meses' : '15 months';\r\n } else if (daysOfTransactions >= 547 && daysOfTransactions <= 550) {\r\n return isEs ? '18 meses' : '18 months';\r\n }\r\n return daysOfTransactions + (isEs ? ' días' : ' days');\r\n};\r\n\r\nexport const getPeriod = (accessFrequency: string) => {\r\n switch (accessFrequency.toLowerCase()) {\r\n case 'unlimited': {\r\n return 'There is no access end date.';\r\n }\r\n default:\r\n return '';\r\n }\r\n}\r\n\r\nexport const getFrequency = (accessFrequency: string) => {\r\n let oneoff = i18n.tc('consent.frequencies.oneoff');\r\n let unlimited = i18n.tc('consent.frequencies.unlimited');\r\n let onceaweek = i18n.tc('consent.frequencies.onceaweek');\r\n let onceamonth = i18n.tc('consent.frequencies.onceamonth');\r\n switch (accessFrequency.toLowerCase()) {\r\n case 'oneoff':\r\n return oneoff;\r\n case 'unlimited': {\r\n return unlimited;\r\n }\r\n case 'onceaweek': {\r\n return onceaweek;\r\n }\r\n case 'onceamonth': {\r\n return onceamonth;\r\n }\r\n default:\r\n return accessFrequency;\r\n }\r\n}\r\n\r\nexport const getTransactions = (accessDataType: string, daysOfTransactions: number) => {\r\n let incoming = i18n.tc('consent.accountTransactions.incoming');\r\n let outgoing = i18n.tc('consent.accountTransactions.outgoing');\r\n switch (accessDataType) {\r\n case 'AccountBalanceBankTransactionsCredits':\r\n case 'AccountBalanceBankTransactionsCreditsParty': {\r\n return [\r\n incoming + getTransactionTimeFrame(daysOfTransactions),\r\n ];\r\n }\r\n case 'AccountBalanceBankTransactions':\r\n case 'AccountBalanceBankTransactionsParty': {\r\n return [\r\n incoming + getTransactionTimeFrame(daysOfTransactions),\r\n outgoing + getTransactionTimeFrame(daysOfTransactions),\r\n ];\r\n }\r\n default:\r\n return [];\r\n }\r\n}\r\n\r\nexport const getAccountDetails = (accessDataType: string) => {\r\n let account = i18n.tc('consent.accountDetails.account');\r\n let balance = i18n.tc('consent.accountDetails.balance');\r\n switch (accessDataType) {\r\n case 'Accounts':\r\n case 'AccountBeta': {\r\n return [account];\r\n }\r\n case 'AccountBalanceBankTransactions':\r\n case 'AccountBalanceBankTransactionsCredits': {\r\n return [account, balance];\r\n }\r\n default:\r\n return [];\r\n }\r\n}\r\n\r\n\r\nexport const getTrueLayerAccountDetails = (accessDataType: string) => {\r\n let name = i18n.tc('consentTrueLayer.accountDetails.name');\r\n let accounts = i18n.tc('consentTrueLayer.accountDetails.accounts');\r\n let balance = i18n.tc('consentTrueLayer.accountDetails.balance');\r\n let transactions = i18n.tc('consentTrueLayer.accountDetails.transactions');\r\n switch (accessDataType) {\r\n case 'Accounts':\r\n case 'AccountBeta': {\r\n return [name, accounts]\r\n }\r\n case 'AccountBalanceBankTransactions':\r\n case 'AccountBalanceBankTransactionsCredits': {\r\n return [name, accounts, balance, transactions]\r\n }\r\n default:\r\n return [];\r\n }\r\n}\r\n\r\n\r\nexport const getParties = (accessDataType: string) => {\r\n let account = i18n.tc('consent.accountParty.account');\r\n let balance = i18n.tc('consent.accountParty.balance');\r\n let email = i18n.tc('consent.accountParty.email');\r\n switch (accessDataType) {\r\n case 'AccountParty': {\r\n return [account, email];\r\n }\r\n case 'AccountBalanceParty':\r\n case 'AccountBalanceBankTransactionsParty':\r\n case 'AccountBalanceBankTransactionsCreditsParty': {\r\n return [account, balance, email];\r\n }\r\n default:\r\n return [];\r\n }\r\n}\r\n\r\nexport const getBeta = (accessDataType: string) => {\r\n switch (accessDataType) {\r\n case 'AccountBeta': {\r\n return ['Payee agreements you have set up', 'Your statements', 'Your standing orders', 'Your direct debits', 'Your recurring and future dated payments'];\r\n }\r\n default:\r\n return [];\r\n }\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AsModal.vue?vue&type=style&index=0&id=23375bf1&lang=scss&scoped=true&\"","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"aria-hidden\":\"true\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"220\",\"height\":\"220\",\"viewBox\":\"0 0 220 220\"}},[_c('circle',{attrs:{\"cx\":\"110\",\"cy\":\"110\",\"r\":\"75\"}}),_c('g',{attrs:{\"fill\":\"#FFF\",\"transform\":\"translate(35 35)\"}},[_c('path',{attrs:{\"d\":\"M138.75,87.66c-2,16.65-12.59,20.78-17.9,23.52a8.88,8.88,0,0,0-2.47,1.95,11,11,0,0,0-2.88,6.78v7.5H102.75v-9a11.55,11.55,0,0,1,1.91-6.41,25.8,25.8,0,0,1,3.18-3.81s2.46-2.14,6.16-4.75c5.6-4,13.2-9.73,12.75-16.5-.75-14.25-17.25-13.5-17.25-13.5A13.62,13.62,0,0,0,99,77.16c-3,3-3.28,4.11-3.75,6a24,24,0,0,0-.75,5.25H83.25s0-12.75,9-20.25S117,62.91,117,62.91,137.14,65.17,138.75,87.66Z\",\"transform\":\"translate(-35 -35)\"}}),_c('circle',{attrs:{\"cx\":\"74.5\",\"cy\":\"113.41\",\"r\":\"9\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./QuestionIcon.vue?vue&type=template&id=fc78c39a&scoped=true&\"\nvar script = {}\nimport style0 from \"./QuestionIcon.vue?vue&type=style&index=0&id=fc78c39a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fc78c39a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('focus-trap',[_c('div',{ref:\"background\",staticClass:\"wrapper\",attrs:{\"tabindex\":\"0\"}},[_c('div',{staticClass:\"modal\",attrs:{\"aria-modal\":\"true\",\"role\":\"dialog\"}},[_c('header',[_c('h2',[_vm._v(_vm._s(_vm.title))]),_c('button',{attrs:{\"aria-label\":\"Close\"},on:{\"click\":_vm.close}},[_c('close-icon',{staticClass:\"icon\"})],1)]),_c('main',[_vm._t(\"default\")],2)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport CloseIcon from '@/components/Icons/CloseIcon.vue';\r\nimport { FocusTrap } from 'focus-trap-vue';\r\nimport Vue from 'vue';\r\n\r\n\r\nexport default Vue.extend({\r\n name: 'AsModal',\r\n data: function(){\r\n return{\r\n isActive: true,\r\n returnFocusOnDeactivate: true\r\n }\r\n },\r\n components: {\r\n CloseIcon,\r\n FocusTrap: FocusTrap,\r\n },\r\n props: {\r\n title: String,\r\n },\r\n methods: {\r\n close() {\r\n this.$emit('close');\r\n },\r\n clickOutside(e: MouseEvent, eee: any) {\r\n if (e.target == this.$refs.background) this.close();\r\n },\r\n },\r\n mounted() {\r\n setTimeout(() => {\r\n document.addEventListener('click', this.clickOutside as any);\r\n }, 10);\r\n },\r\n beforeDestroy() {\r\n document.removeEventListener('click', this.clickOutside as any);\r\n },\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AsModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AsModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AsModal.vue?vue&type=template&id=23375bf1&scoped=true&\"\nimport script from \"./AsModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./AsModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AsModal.vue?vue&type=style&index=0&id=23375bf1&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23375bf1\",\n null\n \n)\n\nexport default component.exports","export const i18nTemplateString = (s: string, replacer: (s: string) => any | string): string =>\r\n s &&\r\n s.replace(\r\n /({i18n\\.[\\w.]*})/gi,\r\n (x: string) => replacer(x.replace('{i18n.', '').replace('}', '')), // gets the i18n string\r\n );\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('as-modal',{attrs:{\"title\":_vm.title},on:{\"close\":function($event){return _vm.$emit('close', $event);}}},[_c('app-content',{staticClass:\"deny\",attrs:{\"name\":\"deny\"},on:{\"submit\":_vm.consent,\"back\":_vm.cancel}},[_c('question-icon',{staticClass:\"icon\"}),(!_vm.isTrueLayer)?[_c('p',[_vm._v(_vm._s(_vm.top))]),_c('ul',_vm._l((_vm.reasons),function(r){return _c('li',{key:r},[_vm._v(_vm._s(r))])}),0)]:_vm._e(),_c('p',[_vm._v(_vm._s(_vm.bottom))]),_c('as-button',{directives:[{name:\"t\",rawName:\"v-t\",value:('button.close.yes'),expression:\"'button.close.yes'\"}],attrs:{\"slot\":\"buttons\",\"type\":\"reset\"},slot:\"buttons\"}),_c('as-button',{directives:[{name:\"t\",rawName:\"v-t\",value:('button.close.no'),expression:\"'button.close.no'\"}],attrs:{\"slot\":\"buttons\",\"type\":\"submit\",\"accent\":\"\"},slot:\"buttons\"})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport signup from '@/api/signup';\nimport { ConfigType } from '@/types/events';\nimport { SignupProgressStateEnum } from '@/types/enum';\nimport { DataProvider } from '@/api/signup/interface';\nimport AsModal from '@/components/Ui/AsModal.vue';\nimport AppContent from '@/components/Layout/AppContent.vue';\nimport QuestionIcon from '@/components/Icons/QuestionIcon.vue';\nimport settingsHelper from '@/store/modules/settings/helper';\nimport signupHelper from '@/store/modules/signup/helper';\nimport navigationHelper from '@/store/modules/navigation/helper';\nimport { SystemPagesEnum } from '@/util/signup';\nimport { getReasons, getTransactionTimeFrame } from '@/util/consent';\nimport { Dictionary } from 'vuex';\nimport { i18nTemplateString } from '@/util/i18n';\nimport { consentCancelled } from '@/util/messages';\n\nconst settingsHelpers = settingsHelper.mapGetters(['client', 'textOverrides', 'accessReason', 'daysOfTransactions', 'providers']);\nconst signupHelpers = signupHelper.mapGetters(['cancelUrl']);\n\nexport default Vue.extend({\n name: 'Deny',\n components: {\n AsModal,\n AppContent,\n QuestionIcon,\n },\n computed: {\n ...settingsHelpers,\n ...signupHelpers,\n hasCancelUrl(): boolean {\n return !!this.cancelUrl;\n },\n overrides(): Dictionary {\n return this.textOverrides.deny || {};\n },\n title(): string {\n return this.overrides.title !== undefined ? this.overrides.title : i18nTemplateString('{i18n.denyModal.title}', (x) => this.$t(x));\n },\n top(): string {\n let provider = this.providers.trueLayer ? 'Equifax UK' : 'consents.online';\n return this.overrides.top !== undefined\n ? this.overrides.top\n : i18nTemplateString('{i18n.denyModal.top}', (x) => this.$t(x))\n .replace('${provider}', provider);\n },\n bottom(): string {\n return this.overrides.bottom !== undefined\n ? this.overrides.bottom\n : i18nTemplateString('{i18n.denyModal.bottom}', (x) => this.$t(x))\n .replace('${this.client}', this.client);\n },\n transactionTimeFrame() {\n return getTransactionTimeFrame(this.daysOfTransactions) + ' days';\n },\n isTrueLayer(): boolean {\n return this.providers.trueLayer ? true : false\n },\n reasons(): string[] {\n if (this.overrides.top !== undefined) { return []; }\n\n return getReasons(this.accessReason, this.client, this.daysOfTransactions)\n }\n },\n methods: {\n ...navigationHelper.mapActions(['navigateTo']),\n ...signupHelper.mapActions(['getCancelUrl']),\n cancel() {\n signup.triggerWebHookEvent(ConfigType.ConsentsDeniedWebhook.toLocaleLowerCase());\n signup.customerProgress(SignupProgressStateEnum.ConsentsDeclined);\n consentCancelled();\n if (this.hasCancelUrl) {\n setTimeout(() => { top.location.href = this.cancelUrl || ''; }, 500);\n }\n else {\n this.navigateTo(SystemPagesEnum.Declined);\n }\n this.$emit('close');\n },\n consent() {\n this.$emit('close');\n },\n },\n beforeMount() {\n this.$doWork(async () => {\n await this.getCancelUrl();\n });\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Deny.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Deny.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Deny.vue?vue&type=template&id=9d873d24&scoped=true&\"\nimport script from \"./Deny.vue?vue&type=script&lang=ts&\"\nexport * from \"./Deny.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Deny.vue?vue&type=style&index=0&id=9d873d24&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9d873d24\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}