{"version":3,"sources":["webpack:///./src/views/applicant/AutomaticPaymentsPage.vue","webpack:///src/views/applicant/AutomaticPaymentsPage.vue","webpack:///./src/views/applicant/AutomaticPaymentsPage.vue?af04","webpack:///./src/views/applicant/AutomaticPaymentsPage.vue?65ba","webpack:///./src/bl/BankAccountStatus.js","webpack:///./src/views/applicant/AutomaticPaymentsPage.vue?2446"],"names":["render","_vm","this","_c","_self","attrs","scopedSlots","_u","key","fn","_v","proxy","staticClass","accounts","length","ref","data","_l","tr","indextr","staticStyle","direct_billing_acceptance","value","model","selectedAccountId","callback","$$v","expression","_s","bank","clabe","slot","stpClabe","on","$event","popUpDirectBillingAcceptanceContract","termsAccepted","acceptDirectBilling","selectedAccount","_e","staticRenderFns","name","mixins","components","LatestDirectBillingAcceptanceContract","contractAcceptDirectBillingType","isMounted","failed","validAccounts","mexicoCountryId","computed","filters","human_date","methods","accs","formattedAccounts","getFormattedAccount","id","bank_id","is_default","is_verified","nacc","geolocation","contractType","lowerPeriodicity","bankAccountId","component","BankAccountStatus","status","VERIFIED","VERIFIED_REQUESTED","REJECTED","UNVERIFIED"],"mappings":"kJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,kBAAkB,CAACE,MAAM,CAAC,gBAAgB,QAAQC,YAAYL,EAAIM,GAAG,CAAC,CAACC,IAAI,OAAOC,GAAG,WAAW,MAAO,CAACR,EAAIS,GAAG,WAAWP,EAAG,OAAO,CAACF,EAAIS,GAAG,sBAAsBT,EAAIS,GAAG,OAAOC,OAAM,MAAS,CAACV,EAAIS,GAAG,QAAQP,EAAG,UAAU,CAACS,YAAY,UAAUP,MAAM,CAAC,MAAQ,2HAA2H,CAACF,EAAG,IAAI,CAACS,YAAY,WAAW,CAACX,EAAIS,GAAG,sgBAAsgBP,EAAG,UAAU,CAACS,YAAY,UAAUP,MAAM,CAAC,MAAQ,sCAAsC,CAACF,EAAG,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ACA,wBACA,IACA,gEACA,SACA,SACAC,cACA,kCACAC,YAGA,8CACA,uCACA,qBACA,EACA,aACA,EAEA,KAGA,+BACA,oBACAjC,qBACAO,iBACAC,cACAT,0DAIA,iDACA,UACA,6BAEA,YAEAmC,uBACA,OACAC,QACAC,kBACAC,4BACAC,yCACAvC,4DAUA,OAPA,kDACAwC,8BACAA,kBAEAA,wBACAA,qBAEA,GAEA,gCACA,IACA,4EACA,+BAEA,SACA,iBAGA,4BACA,mDAEA,OADA,qIACA,EAEA,gDACA,IACA,OACAC,wCACAC,kDACAC,6CACAC,4CAEA,iFACA,gCACA,2BACA,mBAAAxB,kCACA,SACA,qBACA,6CACA,mEAEA,gCC/P8W,I,wBCQ1WyB,EAAY,eACd,EACAlE,EACAwC,GACA,EACA,KACA,KACA,MAIa,aAAA0B,E,+FCnBR,MAAMC,EAMkB,4BAACC,GACxB,OAAQA,GACJ,KAAKD,EAAkBE,SACnB,MAAO,aACX,KAAKF,EAAkBG,mBACnB,MAAO,kBACX,KAAKH,EAAkBI,SACnB,MAAO,yBACX,KAAKJ,EAAkBK,WACvB,QACI,MAAO,2B,eAhBVL,E,aACW,c,eADXA,E,WAES,Y,eAFTA,E,qBAGmB,sB,eAHnBA,E,WAIS,a,kCCJtB","file":"js/chunk-9723a124.93081c94.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('big-title-color',{attrs:{\"variant-class\":\"dark\"},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\"Activar\"),_c('span',[_vm._v(\" pago automático\")]),_vm._v(\".\")]},proxy:true}])},[_vm._v(\". \")]),_c('vx-card',{staticClass:\"mt-base\",attrs:{\"title\":\"¡Da el paso hacia un camino financiero más simple y exitoso activando el pago automático ahora mismo, es muy sencillo!\"}},[_c('p',{staticClass:\"text-md\"},[_vm._v(\" No más preocupaciones por fechas de pago. Activa el pago automático de tu crédito y experimenta la comodidad de un proceso sin complicaciones. Convierte el estrés de los pagos a tiempo en cosa del pasado, liberando tiempo para lo que realmente importa en tu vida. Además, al mantener un historial de pagos puntual, estarás fortaleciendo tu perfil crediticio, abriendo puertas a mejores oportunidades financieras en el futuro. No dejes que los olvidos o el tiempo consumido por los pagos manuales te detengan. \")])]),_c('vx-card',{staticClass:\"mt-base\",attrs:{\"title\":\"¡Actívalo ahora mismo en 2 pasos!\"}},[_c('div',{staticClass:\"vx-row mt-6 mb-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex items-start justify-left mb-1\"},[_c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"1\")])]),_c('p',{staticClass:\"ml-3\"},[_c('b',[_vm._v(\"Selecciona tu cuenta\")]),_c('br'),_vm._v(\" Selecciona la cuenta desde la que quieres que se realice el pago automático \")])])]),_c('div',{staticClass:\"vx-col lg:w-2/3 md:w-3/4 sm:w-full w-full ml-base\"},[(_vm.accounts.length > 0)?_c('div',{staticClass:\"data-list-container\",attrs:{\"id\":\"data-list-account-view\"}},[_c('vs-table',{ref:\"accountsTable\",staticClass:\"mt-5\",attrs:{\"data\":_vm.accounts,\"noDataText\":\"No hay cuentas disponibles\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ data }){return [_c('tbody',_vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,staticStyle:{\"background-color\":\"#3B3A3E\",\"color\":\"white\",\"border-bottom\":\"solid white\"},attrs:{\"data\":tr}},[_c('vs-td',[_c('div',{staticClass:\"flex items-center justify-left\"},[(!tr.direct_billing_acceptance)?_c('vx-tooltip',{attrs:{\"title\":\"Cuenta no soportada\",\"text\":\"Esta cuenta de banco no esta habilitada para poder realizar domiciliación.\"}},[_c('feather-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"AlertTriangleIcon\",\"svgClasses\":\"h-5 w-5 text-danger\"}})],1):_c('vs-radio',{staticClass:\"mr-3\",attrs:{\"color\":\"success\",\"vs-value\":tr.value},model:{value:(_vm.selectedAccountId),callback:function ($$v) {_vm.selectedAccountId=$$v},expression:\"selectedAccountId\"}}),_vm._v(\" \"+_vm._s(tr.bank)+\" \")],1)]),_c('vs-td',[_vm._v(\" \"+_vm._s(tr.clabe)+\" \")])],1)}),1)]}}],null,false,2480259808)},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"BANCO\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"CLABE\")])],1)],2),_c('div',{staticClass:\"flex justify-left mt-3\"},[_c('feather-icon',{attrs:{\"icon\":\"InfoIcon\",\"svgClasses\":\"w-5 h-5 text-success\"}}),_c('small',{staticClass:\"ml-1\"},[_c('i',[_vm._v(\" El pago se realizará el día que te corresponda según tu plan de pagos, pero en caso de no haber fondos suficientes serás notificado y te corresponderá hacer el pago de manera manual ese mes. \")])])],1)],1):_c('div',{staticStyle:{\"border-left\":\"solid #CBFF00\"}},[_c('div',{staticClass:\"flex justify-left items-center mt-3 ml-3\"},[_c('feather-icon',{attrs:{\"icon\":\"AlertTriangleIcon\",\"svgClasses\":\"w-6 h-6 text-danger\"}}),_c('b',{staticClass:\"ml-2\"},[_vm._v(\"Aún no tienes una cuenta registrada\")])],1),_c('p',{staticClass:\"mt-2 ml-3\"},[_vm._v(\" Envía por lo menos $1 MXN para dar de alta tu cuenta bancaria. Importante: Es necesario que el banco se encuentre a tu nombre, de lo contrario no podremos recibir los fondos ni domiciliar el abono recurrente. \"),_c('br'),_c('br'),_vm._v(\" Banco: STP (Sistema de Transferencias y Pagos)\"),_c('br'),_vm._v(\" CLABE: \"+_vm._s(_vm.stpClabe)),_c('br'),_vm._v(\" Beneficiario: Aquí pones tu nombre\"),_c('br'),_vm._v(\" Método de transferencia: SPEI \")])])])]),_c('div',{staticClass:\"vx-row mt-6 mb-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex items-start justify-left mb-3\"},[_c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"2\")])]),_c('p',{staticClass:\"ml-3\"},[_c('b',[_vm._v(\"Acepta los términos\")]),_c('br'),_vm._v(\" Al dar clic en Confirmar y activar pago automático, confirmarás que RedGirasol podrá realizar la domiciliación a tu cuenta de banco elegida. No te preocupes, podrás cancelar el pago automático en cualquier momento. \")])])]),_c('div',{staticClass:\"vx-col lg:w-2/3 md:w-3/4 sm:w-full w-full ml-base\"},[_c('vs-button',{attrs:{\"size\":\"small\",\"color\":\"#20B61A\",\"type\":\"border\",\"disabled\":!_vm.selectedAccountId},on:{\"click\":function($event){_vm.popUpDirectBillingAcceptanceContract=true}}},[_vm._v(\"Ver consentimiento de pago\")]),_c('vs-checkbox',{staticClass:\"mt-5\",attrs:{\"color\":\"success\",\"disabled\":!_vm.selectedAccountId},model:{value:(_vm.termsAccepted),callback:function ($$v) {_vm.termsAccepted=$$v},expression:\"termsAccepted\"}},[_vm._v(\"He leído y doy el consentimiento\")]),_c('vs-button',{staticClass:\"mt-5\",attrs:{\"color\":\"success\",\"disabled\":!_vm.termsAccepted},on:{\"click\":_vm.acceptDirectBilling}},[_vm._v(\"Confirmar y activar pago automático\")])],1)])]),_c('vs-popup',{staticClass:\"extended-popup header-primary\",attrs:{\"active\":_vm.popUpDirectBillingAcceptanceContract,\"title\":\"Consentimiento de pago\"},on:{\"update:active\":function($event){_vm.popUpDirectBillingAcceptanceContract=$event}}},[(_vm.selectedAccount)?_c('latest-direct-billing-acceptance-contract',{attrs:{\"bank-account\":_vm.selectedAccount}}):_vm._e()],1),_c('rg-geolocator',{ref:\"rgGeolocator\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\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!./AutomaticPaymentsPage.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!./AutomaticPaymentsPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AutomaticPaymentsPage.vue?vue&type=template&id=5fa95ec3&\"\nimport script from \"./AutomaticPaymentsPage.vue?vue&type=script&lang=js&\"\nexport * from \"./AutomaticPaymentsPage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AutomaticPaymentsPage.vue?vue&type=style&index=0&id=5fa95ec3&prod&lang=css&\"\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","export class BankAccountStatus {\n static UNVERIFIED = \"unverified\";\n static VERIFIED = \"verified\";\n static VERIFIED_REQUESTED = \"verified_requested\";\n static REJECTED = \"rejected\";\n\n static getAccountStatusName(status) {\n switch (status) {\n case BankAccountStatus.VERIFIED:\n return \"Verificada\";\n case BankAccountStatus.VERIFIED_REQUESTED:\n return \"En verificación\";\n case BankAccountStatus.REJECTED:\n return \"Verificación rechazada\";\n case BankAccountStatus.UNVERIFIED:\n default:\n return \"Pendiente de completar\";\n }\n }\n}","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutomaticPaymentsPage.vue?vue&type=style&index=0&id=5fa95ec3&prod&lang=css&\""],"sourceRoot":""}