{"version":3,"sources":["webpack:///./src/views/PaymentConfirm.vue?8afe","webpack:///src/views/PaymentConfirm.vue","webpack:///./src/views/PaymentConfirm.vue?3422","webpack:///./src/views/PaymentConfirm.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","attrs","$store","state","paymentDetails","IsGenericLink","_e","_v","_s","BankAccountName","requestID","_l","paymentDetailsToSubmit","payment","key","Id","Description","userInputAmount","toFixed","total","formatGenericLinkAmount","loading","on","confirmContinue","staticRenderFns","name","components","ModulrTermsAndConditions","SelectedBankAndLogo","data","overlayLoader","methods","reRoute","$router","push","createPaymentParams","id","item","ID","amount","postPayment","submissionPaymentDetails","createGenericLinkParams","body","payload","modulrBankID","selectedBank","ModulrID","payMethod","initialPayment","finalPayment","API","res","status","modulrURL","modulrID","window","location","href","url","error","alert","console","log","createCookie","minutes","date","Date","setTime","getTime","expires","toGMTString","document","cookie","value","computed","Intl","NumberFormat","style","currency","component","VBtn","VCard","VCardText","VDivider"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACN,EAAIO,GAAG,GAAGH,EAAG,SAAS,CAACE,YAAY,4BAA4BE,MAAM,CAAC,SAAW,KAAK,CAACJ,EAAG,cAAc,CAAGJ,EAAIS,OAAOC,MAAMC,eAAeC,cAA0wCZ,EAAIa,KAA/vCT,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gCAAgC,CAACF,EAAG,MAAM,CAACA,EAAG,IAAI,CAACE,YAAY,sCAAsCE,MAAM,CAAC,SAAW,MAAM,CAACR,EAAIc,GAAG,oBAAoBV,EAAG,IAAI,CAACE,YAAY,0BAA0BE,MAAM,CAAC,SAAW,MAAM,CAACR,EAAIc,GAAG,IAAId,EAAIe,GAAGf,EAAIS,OAAOC,MAAMC,eA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U,aAAeJ,EAAKK,mBAE9BD,EAAU,GAEZE,SAASC,OAAShD,EAAO,IAAMiD,EAAQJ,IAG3CK,SAAU,CACRvD,wBADJ,WAEM,OAAO,IAAIwD,KAAKC,aAAa,QAAS,CACpCC,MAAO,WACPC,SAAU,QAClB,0DCxOwV,I,iFCOpVC,EAAY,eACd,EACAxF,EACAgC,GACA,EACA,KACA,KACA,MAIa,aAAAwD,EAAiB,QAQhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,QAAA,KAAMC,UAAA,OAAUC,WAAA","file":"js/chunk-2d2167a5.11a64150.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"d-flex flex-column\"},[_vm._m(0),_c('v-card',{staticClass:\"grey lighten-3 rounded-md\",attrs:{\"outlined\":\"\"}},[_c('v-card-text',[(!_vm.$store.state.paymentDetails.IsGenericLink)?_c('div',[_c('div',{staticClass:\"d-flex justify-space-between\"},[_c('div',[_c('p',{staticClass:\"text-caption my-0 font-weight-light\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" Account name \")]),_c('p',{staticClass:\"text-caption mt-n1 mb-1\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" \"+_vm._s(_vm.$store.state.paymentDetails.BankAccountName)+\" \")])]),_c('div',{staticClass:\"mb-3\"},[_c('p',{staticClass:\"text-caption text-right my-0 font-weight-light\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" Payment reference \")]),_c('p',{staticClass:\"text-caption mt-n1 text-right\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" \"+_vm._s(_vm.$store.state.requestID)+\" \")])])]),_vm._l((_vm.$store.state.paymentDetailsToSubmit.breakDown),function(payment){return _c('div',{key:payment.Id,staticClass:\"mb-2 d-flex justify-space-between text-body-1\"},[_c('p',{staticClass:\"my-0\"},[_vm._v(_vm._s(payment.Description))]),_c('p',{staticClass:\"my-0\"},[_vm._v(_vm._s(payment.userInputAmount.toFixed(2)))])])}),_c('v-divider',{staticClass:\"my-3\"}),_c('div',{staticClass:\"d-flex justify-space-between text-body-1\",attrs:{\"tabindex\":\"0\"}},[_c('p',{staticClass:\"my-0 font-weight-black\"},[_vm._v(\"Total amount\")]),_c('p',{staticClass:\"my-0 font-weight-black\"},[_vm._v(\" GBP \"+_vm._s(_vm.$store.state.paymentDetailsToSubmit.total)+\" \")])])],2):_vm._e(),(_vm.$store.state.paymentDetails.IsGenericLink)?_c('div',[_c('div',{staticClass:\"d-flex justify-space-between\"},[_c('div',[_c('p',{staticClass:\"text-caption my-0 font-weight-light\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" Account name \")]),_c('p',{staticClass:\"text-caption mt-n1 mb-1\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" \"+_vm._s(_vm.$store.state.paymentDetails.BankAccountName)+\" \")])]),_c('div',{staticClass:\"mb-3\"},[_c('p',{staticClass:\"text-caption text-right my-0 font-weight-light\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" Payment reference \")]),_c('p',{staticClass:\"text-caption mt-n1 text-right\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" \"+_vm._s(_vm.$store.state.requestID)+\" \")])])]),_c('v-divider',{staticClass:\"my-3\"}),_c('div',{staticClass:\"d-flex justify-space-between text-body-1\",attrs:{\"tabindex\":\"0\"}},[_c('p',{staticClass:\"my-0 font-weight-black\"},[_vm._v(\"Total amount\")]),_c('p',{staticClass:\"my-0 font-weight-black\"},[_vm._v(\" \"+_vm._s(_vm.formatGenericLinkAmount)+\" \")])])],1):_vm._e()])],1),_vm._m(1),_c('SelectedBankAndLogo'),_c('p',{staticClass:\"text-center text-body-1 text-sm-h6 mt-12\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" You will be securely redirected to your bank to authenticate this payment. \")]),_c('v-btn',{staticClass:\"mb-3\",attrs:{\"loading\":_vm.loading,\"x-large\":\"\",\"depressed\":\"\",\"color\":\"primary\",\"block\":\"\"},on:{\"click\":_vm.confirmContinue}},[_vm._v(\" confirm & continue \")]),_c('ModulrTermsAndConditions')],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"payment-method-title mt-6 mb-3\"},[_c('p',{staticClass:\"my-0 text-center text-uppercase\",attrs:{\"tabindex\":\"0\",\"aria-label\":\"Payment to\"}},[_vm._v(\" payment to \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"payment-method-title mt-6 mb-3\"},[_c('p',{staticClass:\"my-0 text-center text-uppercase\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\"payment from\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentConfirm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentConfirm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PaymentConfirm.vue?vue&type=template&id=b5639148&\"\nimport script from \"./PaymentConfirm.vue?vue&type=script&lang=js&\"\nexport * from \"./PaymentConfirm.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\ninstallComponents(component, {VBtn,VCard,VCardText,VDivider})\n"],"sourceRoot":""}