{"version":3,"sources":["webpack:///./src/bl/BankAccountStatus.js","webpack:///./src/components/mixins/auth2faHelper.js","webpack:///./src/components/2fa/TwoFactorAuth.vue","webpack:///src/components/2fa/TwoFactorAuth.vue","webpack:///./src/components/2fa/TwoFactorAuth.vue?53a0","webpack:///./src/components/2fa/TwoFactorAuth.vue?50fe","webpack:///./src/views/investor/profile/InvestorBankAccounts.vue","webpack:///./src/views/investor/profile/bank-accounts/FormBankAccount.vue","webpack:///src/views/investor/profile/bank-accounts/FormBankAccount.vue","webpack:///./src/views/investor/profile/bank-accounts/FormBankAccount.vue?af20","webpack:///./src/views/investor/profile/bank-accounts/FormBankAccount.vue?4e0f","webpack:///src/views/investor/profile/InvestorBankAccounts.vue","webpack:///./src/views/investor/profile/InvestorBankAccounts.vue?c8d6","webpack:///./src/views/investor/profile/InvestorBankAccounts.vue?87cd","webpack:///./src/components/mixins/formatHelper.js","webpack:///./src/helpers/investorInfoHelper.js","webpack:///./src/views/investor/profile/InvestorBank.vue","webpack:///src/views/investor/profile/InvestorBank.vue","webpack:///./src/views/investor/profile/InvestorBank.vue?fd8e","webpack:///./src/views/investor/profile/InvestorBank.vue?585e"],"names":["BankAccountStatus","status","VERIFIED","VERIFIED_REQUESTED","REJECTED","UNVERIFIED","methods","user_id","res","axios","get","data","factorEnabled","error","render","_vm","this","_c","_self","attrs","is2FaPopupActive","on","$event","staticClass","validating","customIndicationMessage","_e","_v","_s","errorMssg","staticStyle","showInstructions","$sanitizeUrl","twoFactorCodeUrl","showExtraOptions","user","phone","visibleLastNChars","phone_country_calling_code","sendAlternativeCode","alternativeCodeSent","methodCodeSent","resendEnabled","whatsappSent","resendTimer","directives","name","rawName","value","expression","type","indexOf","_k","keyCode","key","sendCode","apply","arguments","model","code","callback","$$v","buttonId","currentProjectId","staticRenderFns","mixins","props","userId","required","default","customErrorMessage","timer","watch","computed","set","setUpTimerConfig","window","initNipCounter","clearInterval","component","formattedAccounts","length","_m","midText","ref","scopedSlots","_u","fn","_l","tr","indextr","isAccountSelected","bank_name","clabe","getSelectIconClass","stopPropagation","selectAccountRequest","klassFull","deleteAccountRequest","slot","goToPayFunds","isPopupActive","currentTitle","onNewView","onEditView","currentFormattedAccount","currentUserAccount","isMoral","personType","sectionInfo","hasBackofficeAccess","userData","docInfo","formEditionDisabled","collections","refreshAccounts","requestAuthSaveAccount","onFinish","UserId","onAuth","onEditMode","disableEdition","successMssg","isMounted","mfields","f","isAutoFormField","id","refInFor","getContainer","onFieldChange","blockedByDocument","evaluateCondition","targetId","doc","formField","documentSet","loadedState","onDocumentUploadSuccess","showSaveBtn","saveChangesRequest","saveBtnText","showFinishBtn","finish","showCancelBtn","cancelBtnText","formattedAccount","userAccount","components","FormField","mexicoCountryId","pmDocId","pfaeDocId","base","bank","muser","mpersonType","address_is_mexico","should_ask_for_bank_confirmation","currentDocFileId","docLoadedState","setFormFields","setUserProps","bank_is_in_mexico","isForeign","setDocField","target_id","extractBasePayload","account","bank_id","bank_address","bic_swift","iban","routing_number","payload","allValid","should_ask_for_pf_bank_confirmation","should_ask_for_pm_bank_confirmation","fill_clabe","fill_swift_bic_iban","fill_routing_account_number","should_fill_pf_clabe","should_fill_pm_clabe","should_fill_pf_swift_bic","should_fill_pf_iban","should_fill_pf_routing_number","should_fill_pf_account_number","investor_pf_bank_account_exists","investor_pm_bank_account_exists","investor_pm_bank_account_id","investor_pf_bank_account_id","should_fill_pm_swift_bic","should_fill_pm_iban","should_fill_pm_routing_number","should_fill_pm_account_number","FormBankAccount","TwoFactorAuth","userAccounts","accountIdSelected","accountIdToDelete","createdAccountId","preselectedAccountId","klassBase","cities","states","countries","foreign_countries","banks","business_activities","section_id_pm","section_id_pfae","currentView","onError","currentIdForSelection","currentIdToDelete","currentAuthAction","created","klass","getEditIconClass","accs","getFormattedAccount","is_default","is_verified","status_name","nacc","setDefaults","requestAuth","bank_account_id","setOnNewView","setOnEditView","setOnShowView","confirmDeletion","cannotDeleteMssg","showNewAccountPopup","checkForFactorEnabled","color","title","text","acceptText","cancelText","accept","isSelectable","isVerified","clean","format_price","decimales","val","toFixed","replace","toString","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","explicitMoneyFormat","mxnFormat","parseInt","moneyFormat","decimalPercentFormat","roundedFormat","c","cd","Math","round","phoneFormat","substr","phoneFormatV2","chars","valueString","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","i","charAt","toUpperCase","join","isValidRfcFormat","rfc","patternPM","patternPF","match","isValidRfcFormatByPersonType","pattern","genericRFC1","genericRFC2","isValidCurpFormat","curp","isValid","diccionario","lngSuma","lngDigito","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanType","loanTypeIcons","url","filename","icon","find","lt","getAmountWithNoCommissionTax","amount","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision","iid","requiredObjects","params","response","e","warn","moralTypeValue","moralForeignTypeValue","moralFinancialTypeValue","personalTypeValue","personalForeignTypeValue","userIsMoral","person_type","userIsForeign","getInvestorType","investorType","currentInvestorUserId","InvestorBankAccounts"],"mappings":"oKAAO,MAAMA,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,oCCJP,QACbM,QAAS,CACP,uBAAuBC,GACrB,IACE,MAAMC,QAAYC,MAAMC,IAAK,2BAA0BH,GACvD,OAAOC,EAAIG,KAAKC,cAElB,MAAOC,GACL,OAAO,O,oCCRf,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,WAAW,CAACE,MAAM,CAAC,OAASJ,EA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,EAAI4C,KAAKE,GAAKZ,WAAW,UAAUhC,EAAG,YAAY,CAACM,YAAY,qBAAqBJ,MAAM,CAAC,GAAKJ,EAAI+C,SAAS,iBAAiB/C,EAAIgD,iBAAiB,MAAQ,UAAU,SAAWhD,EAAIS,YAAYH,GAAG,CAAC,MAAQN,EAAIwC,WAAW,CAACxC,EAAIY,GAAG,aAAa,QAAQ,QAAQ,IAE19IqC,EAAkB,G,YC0EP,GACflB,qBACAmB,gBACAC,OACAC,QACAjB,qBACAkB,aAEA3C,yBACAyB,YACAkB,YACAC,cAEAC,oBACApB,YACAkB,YACAC,cAEAN,kBACAb,qBACAkB,YACAC,cAEAP,UACAZ,YACAkB,YACAC,eAGA1D,OACA,OACAgD,UACA9B,eACAL,cACAS,uLACAF,oBACAG,oBACAM,uBACAG,gBACAC,eACA2B,WACA7B,mBAGA8B,OACApD,oBACA,IACA,mBACA,oBACA,eACA,yBACA,yBACA,4BACA,qBACA,gBACA,oBACA,yBAIAqD,UACArD,kBACAV,MACA,2CAEAgE,OACA,qDAGAjC,0BACA,4CAGAnC,SACA,iBAEA,GADA,oBACA,kBACA,sBACA,kBAQA,OAPA,qBACA,kCACA,+BACA,sCAEA,wBAKA,yDAEA,wBACA,qBACA,yBACA,mBACA,IACA,OACA,wBACA,cAEA,+DACA,yBACA,kCAEA,eAGA,yBACA,mBACA,+GACA,0BACA,0BAEA,gCAEA,sBAEA,6BACA,oBACA,oBACA,yBACA,wBACA,sBACA,4BACA,6CACA,IACA,OACA,oBACA,qBAEA,6DACA,gDACA,SACA,mBACA,+DAEA,sBAEA,iCACA,oBACA,8CACA,IACA,OACA,oBACA,cAEA,iEACA,yBACA,kCACA,SACA,yBACA,4EACA,gCAEA,sBAEAqE,mBACAC,iCACA,oBACA,uBAEAC,iBACA,8BACA,iBACA,sBACA,sBACAC,4BAEA,QCpPsW,I,YCOlWC,EAAY,eACd,EACAjE,EACAkD,GACA,EACA,KACA,KACA,MAIa,OAAAe,E,6CClBf,IAAIj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COlYnH,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,EAAAA,E,4CC+GA,GACfjC,4BACAsG,YACA+C,kBACAC,sBAEAnI,gBACAC,OACAyC,SAAAzD,aAAAkB,aACAD,QAAAjB,qBAAAkB,aACAwC,YAAA1D,qBAAAkB,aACA0C,qBAAA5D,aAAAkB,aACA2C,UAAA7D,YAAAkB,cAEAzD,OACA,OACAwE,oPACAkH,gBACArH,qBACAsH,uBACAC,uBACAC,sBACAC,0BACAC,mCACAzG,qEAEAiB,aACAyF,UACAC,UACAC,aACAC,qBACAC,SACAC,wBAGA1D,oBACA2D,kBACAC,oBAEA5G,gBACA6G,iBACAzG,wBACAD,6BAEA2G,WACAvL,eAEAgF,iBACAG,aACAC,uBAEAoG,2BACAC,uBAEA1M,iBACA2M,yBAGAC,UACA,kCACA,kCACA,iCAEA,oBACA,2BACA,4BACA,uBACA,kEACA,wBACA,mBACA,sBAEA/I,UACA4B,eACA3F,MACA,oDAEAgE,OACA,+DAGA6B,YACA,6BAEAC,aACA,8BAGAlG,SACA,8BACA,wBAEA,iBACA,uBAGAwF,sBACA,qBAYA,OAXA,0BACA2H,gCAGA,qBACAA,wCAGAA,iBAGA,GAEAC,oBACA,6CACA,qBAEA,OADAD,iBACA,EAGA,uBAGA,wBACA,IACA,gEACA,SACA,oBACA,0BACAE,cACA,kCACA,iCAGA,2CACA,qBACA,EAEA,aACA,EAEA,6BACA,gBAEA,+BACA,GAEA,6BACA,EAEA,KAGA,YAGAC,uBACA,OACA7F,QACA0C,kBACAoD,4BACAC,yCACAC,qDAWA,OARA,kDACAC,8BACAA,kBAGAA,wBACAA,qBAEA,GAEAC,cACA,mDACA,UACA,8BAGA,yBACA,IACA,2DACA,uDACA,gCAEA,yDACA,uBAEA,YAGA,uBACA,IACA,gEACA,+BACA,yDACA,SACA,2CACA,mDACA,wCAEA,SACA,aACA,iBAGA,8BACA,iCAGA,sBAGA,CACA,iCACA,OAEA,gCACA,4KACA,4IARA,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BhL,GACd,OAAOA,EAAKtH,KAAKoS,gB,yCCpCvB,IAAIzT,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,YAAY,CAACF,EAAIY,GAAG,UAAUV,EAAG,OAAO,CAACF,EAAIY,GAAG,SAAUZ,EAAI4G,UAAW1G,EAAG,yBAAyB,CAACE,MAAM,CAAC,WAAWJ,EAAI4F,QAAQ,cAAc5F,EAAI2T,aAAa,UAAU3T,EAAI4T,sBAAsB,wBAAwB5T,EAAI+F,oBAAoB,YAAY/F,EAAI0I,QAAQ1I,EAAIW,MAAM,IAErWsC,EAAkB,G,wBCmBP,GACflB,oBACAsG,YACAwL,6BAEA3Q,gBACAtD,OACA,OACAgH,aACA9F,aACA6F,eACAgN,kBACA/N,WACAgO,2BACA7N,yBAGA2C,UAGA,oBACA,qBACA,kBACA,mDACA,uCACA,wDACA,kDACA,iDACA,yDACA,kBACA,sBAEAhF,aCrDoX,I,YCOhXM,EAAY,eACd,EACAjE,EACAkD,GACA,EACA,KACA,KACA,MAIa,aAAAe,E","file":"js/chunk-20938378.fde501be.js","sourcesContent":["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 default {\n methods: {\n async getUser2FAStatus(user_id){\n try {\n const res = await axios.get(`api/perfil/get2FAStatus/${user_id}`);\n return res.data.factorEnabled;\n }\n catch (error) {\n return false;\n }\n },\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('vs-popup',{attrs:{\"active\":_vm.is2FaPopupActive,\"title\":\"Confirma que eres tú\"},on:{\"update:active\":function($event){_vm.is2FaPopupActive=$event}}},[_c('div',{staticClass:\"p-4 pt-0\"},[_c('div',[(!_vm.validating && !_vm.customIndicationMessage)?_c('h6',{staticClass:\"title-dark\"},[_vm._v(\"Por favor ingresa el código de 6 dígitos.\")]):_vm._e(),(!_vm.validating && _vm.customIndicationMessage)?_c('h6',{staticClass:\"title-dark\"},[_vm._v(_vm._s(_vm.customIndicationMessage))]):_vm._e(),(_vm.validating)?_c('h6',{staticClass:\"title-dark\"},[_vm._v(\"Validando...\")]):_vm._e(),(_vm.errorMssg)?_c('vs-alert',{staticClass:\"mt-3 mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"color\":\"danger\"}},[_vm._v(\" \"+_vm._s(_vm.errorMssg)+\" \"),(_vm.showInstructions)?_c('div',{staticClass:\"black\"},[_c('br'),_vm._v(\"Si el problema persiste, es posible que tu app de autenticación (Autenticador de Google, Authy, etc.) no esté sincronizada.\"),_c('br'),_c('br'),_vm._v(\" Intenta \"),_c('a',{staticClass:\"underline bold black\",attrs:{\"href\":_vm.$sanitizeUrl(_vm.twoFactorCodeUrl),\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_vm._v(\" sincronizar tu app \")]),_vm._v(\" de autenticación o \"),_c('a',{staticClass:\"underline bold black\",attrs:{\"href\":_vm.$sanitizeUrl('perfil/seguridad/2fa'),\"rel\":\"noopener noreferrer\"}},[_vm._v(\"reestablece tu segundo factor de autenticación\")]),_vm._v(\". \")]):_vm._e()]):_vm._e(),(_vm.showExtraOptions && _vm.user.phone)?_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"mb-2\"},[_vm._v(\" También podemos enviarte un código al \"),_c('b',[_vm._v(_vm._s(_vm.visibleLastNChars(_vm.user.phone, 4)))]),_vm._v(\" por:\"),_c('br')]),(_vm.user.phone_country_calling_code != '--' && _vm.user.phone_country_calling_code != '+1')?_c('div',{staticClass:\"flex items-center mb-2\"},[_c('vs-icon',{attrs:{\"icon\":\"sms\",\"size\":\"small\",\"color\":\"primary\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(false)}}},[_vm._v(\"Mensaje de texto (SMS)\"),_c('br')])],1):_vm._e(),_c('div',{staticClass:\"flex items-center\"},[_c('image-from-source',{staticStyle:{\"width\":\"24px\"},attrs:{\"path\":\"/img/wp-green.png\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(true)}}},[_vm._v(\"WhatsApp\")])],1)]):_vm._e(),(_vm.alternativeCodeSent)?_c('div',{staticClass:\"mt-5\"},[_vm._v(\" Te enviamos un código por \"+_vm._s(_vm.methodCodeSent)+\" al \"+_vm._s(_vm.visibleLastNChars(_vm.user.phone, 4))),_c('br'),_c('br'),_vm._v(\" ¿No lo recibiste? \"),(_vm.resendEnabled)?_c('label',{staticClass:\"clickable-img underline bold black\",on:{\"click\":function($event){return _vm.sendAlternativeCode(_vm.whatsappSent)}}},[_vm._v(\"Reenviar\")]):[_vm._v(\" Reenviar en \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"00:\"+_vm._s(_vm.resendTimer)+\" \")])],_c('br'),_c('br'),_vm._v(\" O recibe tu código por:\"),_c('br'),_c('br'),(_vm.whatsappSent && _vm.user.phone_country_calling_code != '+1')?_c('div',{staticClass:\"flex items-center mb-2\"},[_c('vs-icon',{attrs:{\"icon\":\"sms\",\"size\":\"small\",\"color\":\"primary\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(false)}}},[_vm._v(\"Mensaje de texto (SMS)\"),_c('br')])],1):_c('div',{staticClass:\"flex items-center\"},[_c('image-from-source',{staticStyle:{\"width\":\"24px\"},attrs:{\"path\":\"/img/wp-green.png\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(true)}}},[_vm._v(\"WhatsApp\")])],1)],2):_vm._e(),_c('div',{staticClass:\"vx-row mt-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex items-center flex-grow justify-left mt-1\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric'),expression:\"'required|numeric'\"}],attrs:{\"type\":\"text\",\"name\":\"code\",\"maxlength\":\"6\",\"autocomplete\":\"off\",\"disabled\":_vm.validating,\"placeholder\":\"Ingresa el código\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.sendCode.apply(null, arguments)}},model:{value:(_vm.code),callback:function ($$v) {_vm.code=$$v},expression:\"code\"}}),_c('vs-button',{staticClass:\"statement-btn ml-6\",attrs:{\"id\":_vm.buttonId,\"data-projectid\":_vm.currentProjectId,\"color\":\"primary\",\"disabled\":_vm.validating},on:{\"click\":_vm.sendCode}},[_vm._v(\"Enviar\")])],1)])])],1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./TwoFactorAuth.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!./TwoFactorAuth.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TwoFactorAuth.vue?vue&type=template&id=631aeef1&\"\nimport script from \"./TwoFactorAuth.vue?vue&type=script&lang=js&\"\nexport * from \"./TwoFactorAuth.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full md:w-2/3\"},[_c('h4',[_vm._v(\"Tus cuentas de banco.\")]),(_vm.formattedAccounts.length > 0)?_c('div',[_vm._m(0),_c('p',{staticClass:\"mb-2 mt-4\"},[_vm._v(\" \"+_vm._s(this.midText)+\" \")]),_vm._m(1),_c('div',{staticClass:\"vx-row mt-6 mb-2\"},[_c('div',{staticClass:\"vx-col xxl:w-2/3 lg:w-full w-full\"},[_c('div',{staticClass:\"data-list-container data-list-list-view data-list-rows vs-con-loading__container\",attrs:{\"id\":\"main-div\"}},[_c('vs-table',{ref:\"accountsTable\",staticClass:\"mt-1\",attrs:{\"data\":_vm.formattedAccounts,\"noDataText\":\"No hay cuentas registradas\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return [_c('tbody',_vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tr,\"state\":_vm.isAccountSelected(tr) ? 'black' : null}},[_c('vs-td',[_vm._v(\" \"+_vm._s(tr.bank_name)+\" \")]),_c('vs-td',[_vm._v(\" \"+_vm._s(tr.clabe)+\" \")]),_c('vs-td',[_c('div',{staticClass:\"flex items-center flex-grow flex-no-wrap w-full\"},[_c('feather-icon',{attrs:{\"icon\":\"StarIcon\",\"svgClasses\":_vm.getSelectIconClass(tr)},on:{\"click\":function($event){$event.stopPropagation();return _vm.selectAccountRequest(tr)}}}),_c('feather-icon',{staticClass:\"ml-5\",attrs:{\"icon\":\"Trash2Icon\",\"svgClasses\":_vm.klassFull},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteAccountRequest(tr)}}})],1)])],1)}),1)]}}],null,false,3700621255)},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Banco\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"CLABE / SWIFT / BIC\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Acciones\")])],1)],2)],1)])])]):_c('div',[_vm._m(2),_c('p',{staticClass:\"mb-2 mt-4\"},[_vm._v(\" \"+_vm._s(this.midText)+\" \")]),_vm._m(3),_c('div',{staticClass:\"vx-col w-full mt-5\"},[_c('vs-button',{staticClass:\"px-3\",on:{\"click\":_vm.goToPayFunds}},[_vm._v(\"Abonar fondos\")])],1)])])]),(_vm.isPopupActive)?_c('vs-popup',{staticClass:\"mid-popup header-primary\",attrs:{\"active\":_vm.isPopupActive,\"title\":_vm.currentTitle},on:{\"update:active\":function($event){_vm.isPopupActive=$event}}},[(_vm.onNewView || _vm.onEditView)?_c('form-bank-account',{ref:\"formBankAccount\",attrs:{\"formatted-account\":_vm.currentFormattedAccount,\"user-account\":_vm.currentUserAccount,\"on-edit-mode\":_vm.onEditView,\"is-moral\":_vm.isMoral,\"user-id\":_vm.userId,\"person-type\":_vm.personType,\"section-info\":_vm.sectionInfo,\"has-backoffice-access\":_vm.hasBackofficeAccess,\"user-data\":_vm.userData,\"doc-info\":_vm.docInfo,\"disable-edition\":_vm.formEditionDisabled,\"collections\":_vm.collections},on:{\"on-account-saved\":_vm.refreshAccounts,\"on-save-account-auth-request\":_vm.requestAuthSaveAccount,\"on-finish\":_vm.onFinish}}):_vm._e()],1):_vm._e(),_c('two-factor-auth',{attrs:{\"user-id\":_vm.UserId,\"custom-indication-message\":\"Por favor ingresa los 6 dígitos de tu Segundo Factor de Autenticación para ejecutar la operación.\"},on:{\"on-code-validated\":_vm.onAuth}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mb-2 mt-2\"},[_vm._v(\" Consulta o administra las cuentas de banco con las que has abonado fondos en la Red.\"),_c('br'),_c('span',{staticClass:\"bold\"},[_vm._v(\"Recuerda que cada vez que abones desde una nueva cuenta, ésta se registrará automáticamente mientras tú seas titular de la misma, de lo contrario, tus fondos serán reembolsados.\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mb-2 mt-4\"},[_vm._v(\" En caso de tener más de una cuenta, selecciona una CLABE predeterminada al dar clic en el icono de estrella dentro de las acciones. \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"Esta será tu cuenta principal y estará resaltada en color negro\")]),_vm._v(\". \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mb-2 mt-2\"},[_vm._v(\" En este apartado podrás consultar o administrar las cuentas de banco con las que hayas abonado fondos en la Red. \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"Recuerda que cada vez que abones desde una nueva cuenta, ésta se registrará automáticamente mientras tú seas titular de la misma, de lo contrario, tus fondos serán reembolsados.\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mb-2 mt-4\"},[_vm._v(\" Para abonar fondos y registrar una nueva cuenta de banco verifica que ya tengas dado de alta tu \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"RFC\")]),_vm._v(\" o \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"CURP\")]),_vm._v(\" en tu perfil de RedGirasol y da clic a continuación. \")])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"px-2 py-2\"},[_c('div',{staticClass:\"vx-row mb-3\"},[(_vm.onEditMode)?_c('div',{staticClass:\"vx-col w-full\"},[(_vm.disableEdition)?_c('h4',{staticClass:\"mb-3\"},[_vm._v(\"Detalle de tu cuenta de banco.\")]):_c('h4',{staticClass:\"mb-3\"},[_vm._v(\"Edita tu cuenta de banco.\")]),_vm._m(0)]):_c('div',{staticClass:\"vx-col w-full\"},[_c('h4',{staticClass:\"mb-3\"},[_vm._v(\"Agrega una cuenta de banco.\")]),_vm._m(1)])]),_c('div',{staticClass:\"vx-row px-4\"},[(_vm.errorMssg)?_c('vs-alert',{staticClass:\"mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-alert-triangle\",\"color\":\"danger\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMssg))])]):_vm._e(),(_vm.successMssg)?_c('vs-alert',{staticClass:\"mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-check\",\"color\":\"success\"}},[_c('span',[_vm._v(_vm._s(_vm.successMssg))])]):_vm._e()],1),(_vm.isMounted)?_c('div',{staticClass:\"vx-row mt-2\"},[_vm._l((_vm.mfields),function(f){return [(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:\"mfields\",refInFor:true,attrs:{\"f\":f,\"dataContainer\":_vm.getContainer(f),\"collectionsRoot\":_vm.collections,\"keep-disabled\":_vm.disableEdition,\"onChangeReceptor\":_vm.onFieldChange,\"hasBackofficeAccess\":_vm.hasBackofficeAccess,\"blockedByDocument\":f.blockedByDocument,\"evaluator\":_vm.evaluateCondition,\"input-class-large\":true,\"editableByBackoffice\":true}}):_vm._e()]})],2):_vm._e(),(_vm.isMounted)?_c('div',{staticClass:\"vx-row\"},[_c('document-upload',{attrs:{\"target_id\":_vm.targetId,\"f\":_vm.doc.formField,\"doc\":_vm.doc.documentSet,\"evaluator\":_vm.evaluateCondition,\"loadedState\":_vm.doc.loadedState,\"disabled\":_vm.disableEdition,\"stickToLoadedState\":true,\"editableByBackoffice\":true,\"inputClassExtraLarge\":true},on:{\"on-success\":_vm.onDocumentUploadSuccess}})],1):_vm._e(),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-start\"},[(_vm.showSaveBtn && !_vm.disableEdition)?_c('vs-button',{staticClass:\"ml-2\",on:{\"click\":function($event){$event.stopPropagation();return _vm.saveChangesRequest.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.saveBtnText))]):_vm._e(),(_vm.showFinishBtn)?_c('vs-button',{staticClass:\"ml-2\",on:{\"click\":function($event){$event.stopPropagation();return _vm.finish.apply(null, arguments)}}},[_vm._v(\"Finalizar\")]):_vm._e(),(_vm.showCancelBtn && !_vm.disableEdition)?_c('vs-button',{staticClass:\"ml-6\",attrs:{\"type\":\"border\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.finish.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.cancelBtnText))]):_vm._e(),(_vm.showCancelBtn && _vm.disableEdition)?_c('vs-button',{staticClass:\"ml-2\",on:{\"click\":function($event){$event.stopPropagation();return _vm.finish.apply(null, arguments)}}},[_vm._v(\"Cerrar\")]):_vm._e()],1)])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\" Consulta o modifica los 18 dígitos de tu cuenta CLABE y sube un documento donde podamos consultar de manera clara y legible la misma cuenta CLABE que ingresaste. \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"Considera que el proceso de verificación después de editar tu cuenta podrá tomar hasta 72 horas.\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\" Ingresa los 18 dígitos de tu cuenta CLABE y sube un documento donde podamos consultar de manera clara y legible la misma cuenta CLABE que ingresaste. \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"Considera que el proceso de verificación de nuevas cuentas puede tomar hasta 72 horas.\")])])\n}]\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!./FormBankAccount.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!./FormBankAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormBankAccount.vue?vue&type=template&id=0402da5a&\"\nimport script from \"./FormBankAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./FormBankAccount.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\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!./InvestorBankAccounts.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!./InvestorBankAccounts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvestorBankAccounts.vue?vue&type=template&id=6167d46a&scoped=true&\"\nimport script from \"./InvestorBankAccounts.vue?vue&type=script&lang=js&\"\nexport * from \"./InvestorBankAccounts.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 \"6167d46a\",\n null\n \n)\n\nexport default component.exports","export default {\n methods: {\n format_price(value, decimales = 0) {\n let val = (value / 1).toFixed(decimales).replace(\",\", \".\");\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n },\n costFormat(value) {\n if (!value) { return \"$0\"; }\n if (value == \"Pendiente\") { return value; }\n else {\n return \"$\" + this.format_price(value, 2);\n }\n },\n costFormatNoCents(value) {\n if (!value) { return \"$0\"; }\n if (value === \"Pendiente\") { return value; }\n else return \"$\" + this.format_price(value);\n },\n prcgFormat(value, decimales = 0) {\n if (!value) { return \"0%\"; }\n if (value == \"Pendiente\") { return value; }\n else { return value.toFixed(decimales) + \"%\"; }\n },\n decimalsFormat(value, decimales = 0) {\n if (!value) { return 0; }\n if (value == \"Pendiente\") { return 0; }\n else { return value.toFixed(decimales); }\n },\n explicitMoneyFormat(value, decimales = 2) {\n if (value == null) return \"\";\n else {\n return \"$\" + this.format_price(value, decimales);\n }\n },\n mxnFormat(value, decimales = 0) {\n if (!value) { return \"$0MXN\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), decimales) + \" MXN\";\n }\n },\n moneyFormat(value) {\n if (!value) { return \"$0\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), 0);\n }\n },\n decimalPercentFormat(value, decimales = 2) {\n if (!value) return \"0%\";\n else {\n return (value * 100).toFixed(decimales) + \"%\";\n }\n },\n roundedFormat(value, decimales = 2) {\n if (!value) { return 0; }\n else {\n let c = value.toFixed(decimales);\n let cd = Math.round(c);\n return cd.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n },\n phoneFormat(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 2) + ') ' + value.substr(2, 4) + '-' + value.substr(6, 4)\n }\n },\n phoneFormatV2(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 3) + ') ' + value.substr(2, 3) + ' ' + value.substr(6, 4)\n }\n },\n visibleLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n let phoneLength = valueString.length;\n const firstChars = \"*\".repeat(phoneLength - chars);\n const last4Digits = valueString.slice(firstChars.length);\n return firstChars + last4Digits;\n }\n }\n },\n visibleOnlyLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n return valueString.slice(-4);\n }\n }\n },\n capitalizeFirstLetter(value) {\n if (!value) return value\n else {\n const arr = value.split(\" \");\n for (let i = 0; i < arr.length; i++) {\n arr[i] = arr[i].charAt(0).toUpperCase() + arr[i].slice(1);\n\n }\n\n return arr.join(\" \");\n }\n },\n //Función para validar un RFC\n isValidRfcFormat(rfc) {\n if(rfc) {\n const patternPM = \"^(([A-ZÑ&]{3})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n const patternPF = \"^(([A-ZÑ&]{4})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n return rfc.match(patternPM) || rfc.match(patternPF);\n } else {\n return false;\n }\n },\n //Función para validar un RFC por tipo de persona\n isValidRfcFormatByPersonType(rfc, isMoral) {\n if(rfc) {\n // Formato para PF\n let pattern = /^[A-Z]{4}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n let genericRFC1 = \"XAXX010101000\";\n let genericRFC2 = \"XEXX010101000\";\n if(isMoral) {\n // Formato para PM\n pattern = /^[A-Z]{3}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n }\n\n return rfc.match(pattern) && rfc != genericRFC1 && rfc != genericRFC2;\n } else {\n return false;\n }\n },\n //Función para validar una CURP\n isValidCurpFormat(curp) {\n if(curp) {\n const pattern = /^([A-Z][AEIOUX][A-Z]{2}\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])[HM](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\\d])(\\d)$/;\n let isValid = curp.match(pattern);\n if (!isValid) //Coincide con el formato general?\n return false;\n //Fuente https://consultas.curp.gob.mx/CurpSP/\n let diccionario = \"0123456789ABCDEFGHIJKLMNÑOPQRSTUVWXYZ\";\n let lngSuma = 0.0;\n let lngDigito = 0.0;\n for (let i = 0; i < 17; i++) {\n lngSuma = lngSuma + diccionario.indexOf(isValid[1].charAt(i)) * (18 - i);\n }\n lngDigito = 10 - lngSuma % 10;\n let verifierDigit = (lngDigito != 10) ? lngDigito : 0;\n return isValid[2] == verifierDigit;\n } else {\n return false;\n }\n },\n anonymousFormatPhone(value){\n if (value === \"\") return value\n else {\n return value.replace(/^(?:\\D*\\d){8}/g, \"********\");\n }\n },\n genderTranslate(value) {\n return value == 1 ? \"Hombre\" : \"Mujer\";\n },\n //Función para obtener el icono del tipo de proyecto o todos con el param 'all'\n getLoanTypeIcon(loanType) {\n const loanTypeIcons = [\n {\n id: 1,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\",\n filename: \"Crédito Solar\"\n },\n {\n id: 4,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pyme.png\",\n filename: \"Crédito PyME\"\n },\n {\n id: 5,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pers.png\",\n filename: \"Crédito Personal\"\n },\n {\n id: 6,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-auto.png\",\n filename: \"Crédito Automotriz\"\n }\n ];\n\n if (loanType == \"all\") {\n return loanTypeIcons;\n } else {\n let icon = loanTypeIcons.find(lt => lt.id === loanType);\n let url = \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\";\n if (icon) {\n url = icon.url;\n }\n return url;\n }\n },\n getAmountWithNoCommissionTax(amount){\n if (amount <= 0) {\n return 0;\n }\n const processingAdministrationCommission = .02;\n const mexicoTaxIva = .16;\n let commissionWithTaxPercentage = processingAdministrationCommission*mexicoTaxIva;\n let percentage = (1+processingAdministrationCommission+commissionWithTaxPercentage);\n let amountNoCommision = amount/percentage;\n return amountNoCommision;\n }\n }\n}","export default {\n methods: {\n async getInvestorData(iid, requiredObjects){\n try{\n // ?filter[status]=3 // ejemplo de filtro\n let params = \"with[]=\" + requiredObjects.join(\"&with[]=\");\n let response = await axios.get(`/api/v2/investor/${iid}?${params}`);\n return response.data;\n }\n catch(e){\n this.warn(e);\n return null;\n }\n },\n moralTypeValue(){\n return 0;\n },\n moralForeignTypeValue(){\n return 3;\n },\n moralFinancialTypeValue(){\n return 4;\n },\n personalTypeValue(){\n return 1;\n },\n personalForeignTypeValue(){\n return 2;\n },\n userIsMoral(person_type){\n return (person_type === this.moralTypeValue() || person_type === this.moralForeignTypeValue() || person_type === this.moralFinancialTypeValue());\n },\n userIsForeign(person_type){\n return (person_type === this.moralForeignTypeValue() || person_type === this.personalForeignTypeValue());\n },\n getInvestorType(base){\n return base.user.person_type;\n },\n },\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('big-title',[_vm._v(\" Banco\"),_c('span',[_vm._v(\".\")])]),(_vm.isMounted)?_c('investor-bank-accounts',{attrs:{\"is-moral\":_vm.isMoral,\"person-type\":_vm.investorType,\"user-id\":_vm.currentInvestorUserId,\"has-backoffice-access\":_vm.hasBackofficeAccess,\"user-data\":_vm.base}}):_vm._e()],1)\n}\nvar staticRenderFns = []\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!./InvestorBank.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!./InvestorBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvestorBank.vue?vue&type=template&id=22d68bf9&\"\nimport script from \"./InvestorBank.vue?vue&type=script&lang=js&\"\nexport * from \"./InvestorBank.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"],"sourceRoot":""}