{"version":3,"sources":["webpack:///./src/views/investor/investments/StatementsPage.vue","webpack:///src/views/investor/investments/StatementsPage.vue","webpack:///./src/views/investor/investments/StatementsPage.vue?1bee","webpack:///./src/views/investor/investments/StatementsPage.vue?0380","webpack:///./src/components/mixins/dateHelper.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/components/mixins/formatHelper.js"],"names":["render","_vm","this","_c","_self","_v","staticClass","attrs","model","value","activeTab","callback","$$v","expression","statementsYearSelected","_l","years","item","index","key","on","$event","getStatementsAvailable","selectedStatements","length","downloadZipStatements","ref","statements","itemsPerPage","scopedSlots","_u","fn","data","tr","indextr","_s","month","year","start_period","end_period","stopPropagation","downloadPdf","has_xml","downloadXml","slot","retainersYearSelected","getRetainers","retainers","rfc","explicitMoneyFormat","amount","isr","last_update","invoicesMonthSelected","months","invoicesYearSelected","getInvoicesAvailable","selectedInvoices","downloadZipInvoices","allInvoices","tri","invoice_date","project_ids","interests","tax","tax_retention","isr_retention","pdf_file","downloadPdfInvoice","_e","xml_file","downloadXmlInvoice","UserId","onAuth","onAuthFailed","staticRenderFns","selected","allStatements","allRetainers","groupedInvoices","monthNames","isMounted","currentStatement","currentInvoice","authAction","factorEnabled","components","TwoFactorAuth","mixins","mounted","computed","currentPage","methods","request2faCode","id","f","monthName","show2faRequiredMessage","color","type","title","text","acceptText","cancelText","accept","window","name","showError","err","component","constitutionDateFormat","moment","String","locale","format","constitutionPaymentDateFormat","explicitDateFormat","sessionFormat","regularDateFormat","yearDateFormat","midDateFormat","humanDateFormat","dateTimeFormat","dateTime12Format","compactDateFormat","logDateFormat","timeAgoFormat","fromNow","calculateAgeFromDate","diff","minDateForValidAge","subtract","calculateDaysDiff","m","n","validatedDate","isValid","getDateFromInputs","yy","mm","dd","yint","parseInt","mint","day","nextAccreditationDate","add","setDateToEndOfDay","d","endOf","end","setDateToStartOfDay","startOf","start","signatureFormatDate","signatureValidityDate","incomeSpecial","toUpperCase","timeStampFormat","formatDatepicker","isAfter","date","maxDate","limit","getPreviousMonth","step","getDay","user_id","res","axios","get","error","is2FaPopupActive","validating","customIndicationMessage","errorMssg","staticStyle","showInstructions","$sanitizeUrl","twoFactorCodeUrl","showExtraOptions","user","phone","visibleLastNChars","phone_country_calling_code","sendAlternativeCode","alternativeCodeSent","methodCodeSent","resendEnabled","whatsappSent","resendTimer","directives","rawName","indexOf","_k","keyCode","sendCode","apply","arguments","code","buttonId","currentProjectId","props","userId","required","default","customErrorMessage","timer","watch","set","setUpTimerConfig","initNipCounter","clearInterval","format_price","decimales","val","toFixed","replace","toString","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","mxnFormat","moneyFormat","decimalPercentFormat","roundedFormat","c","cd","Math","round","phoneFormat","substr","phoneFormatV2","chars","valueString","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","i","charAt","join","isValidRfcFormat","patternPM","patternPF","match","isValidRfcFormatByPersonType","isMoral","pattern","genericRFC1","genericRFC2","isValidCurpFormat","curp","diccionario","lngSuma","lngDigito","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanType","loanTypeIcons","url","filename","icon","find","lt","getAmountWithNoCommissionTax","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision"],"mappings":"0IAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,YAAY,CAACF,EAAII,GAAG,gBAAgBF,EAAG,OAAO,CAACF,EAAII,GAAG,YAAYJ,EAAII,GAAG,QAAQF,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG,YAAY,gCAAgCC,MAAM,CAAC,MAAQ,UAAU,UAAY,SAASC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G,QAAQ,CAACG,YAAY,QAAQ,CAACL,EAAII,GAAG,UAAU,IAAI,IAAI,IAAI,IAAI,GAAGF,EAAG,kBAAkB,CAACI,MAAM,CAAC,UAAUN,EAAIuE,OAAO,4BAA4B,gHAAgHpD,GAAG,CAAC,oBAAoBnB,EAAIwE,OAAO,kBAAkBxE,EAAIyE,iBAAiB,IAE1nTC,EAAkB,G,gDCuQP,GACf3C,OACA,OACAtB,YACAkE,YACAC,iBACAC,gBACAnD,cACAoB,aACAY,eACAoB,mBACAnD,gBACAoD,8HACAC,aACAC,sBACAC,oBACAC,gBACAC,iBACArE,kBAAAQ,UAAA,mCACA8B,0HACAxC,yBACA+B,wBACAU,uBACAF,8CACA9B,sBACAkC,sBAGA6B,YACAC,sBAEAC,8BACAC,UACA,mBAEA,oBACA,qBACA,kEACA,8BACA,sBAEAC,UACAC,cACA,sBACA,0BAEA,IAGAC,SACAC,iBACA,qDAEA,+BACA,qBACA,IACA,2BACA,sBACA,mBACA,8CACA,iFACA,qCACA,+BACA,sBACAC,QACA1D,yCACAC,uBACAC,yDACAC,qDACAG,kCAIA,UAEA,sBAEA,qBACA,qBACA,kBACA,qBACA,IACA,6CACA,gFACA,mCACA,8BACA,qBACAM,iBACAE,gBACAC,UACAC,sDAGA,qBAEA,SACA,uBAGA,6BACA,oBACA,wBACA,yBACA,qBACA,IACA,iCACA,wCACA,oFACA,iCACA,6BACA2C,8CACAA,oCAGA,qBAEA,SACA,uBAGAC,aACA,6BA+CA,qBACA,oBAIA,wBACA,kBACA,uBALA,+BAOA,qBACA,oBAKA,wBACA,kBACA,uBANA,+BAQA,4BACA,oBAIA,sBACA,kBACA,uBALA,+BAOA,4BACA,oBAIA,sBACA,kBACA,uBALA,+BAOA,8BACA,oBAIA,kBACA,uBAJA,+BAMA,4BACA,oBAIA,kBACA,uBAJA,+BAMAC,yBACA,iBACAC,gBACAC,eACAC,gCACAC,+FACAC,uBACAC,sBACAC,2BAGA,gBACA,wBACA,aACA,sBACA,MAC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A6B/N,GAC3B,GAAIA,GAAU,EACZ,OAAO,EAET,MAAMgO,EAAqC,IACrCC,EAAe,IACrB,IAAIC,EAA8BF,EAAmCC,EACjEE,EAAc,EAAEH,EAAmCE,EACnDE,EAAoBpO,EAAOmO,EAC/B,OAAOC","file":"js/chunk-117e8e4b.07f80bc0.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('big-title',[_vm._v(\" Estados de \"),_c('span',[_vm._v(\"cuenta\")]),_vm._v(\". \")]),_c('vx-card',[_c('vs-tabs',{staticClass:\"tab-action-btn-fill-container\",attrs:{\"color\":\"#28DE18\",\"alignment\":\"fixed\"},model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('vs-tab',{attrs:{\"label\":\"Estados de cuenta\"}},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col xxl:w-3/4 w-full\"},[_c('p',[_c('span',{staticClass:\"bold\"},[_vm._v(\"¡No olvides tener a la mano tu Segundo Factor de Autenticación!\")])]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" Consulta y descarga los últimos estados de cuenta de RedGirasol en los que encontrarás tus movimientos, inversiones y más información relevante sobre tu participación en la Red. Ante cualquier duda o comentario estaremos para apoyarte a través del chat de la plataforma.\")]),_c('p',{staticClass:\"mt-4 bold underline\"},[_vm._v(\" Entre los días 6 y 7 de cada mes aparecerá disponible tu estado de cuenta. \")])])]),_c('vs-row',[_c('vs-col',{attrs:{\"vs-lg\":\"2\",\"vs-sm\":\"6\",\"vs-xs\":\"12\"}},[_c('vs-select',{staticClass:\"w-full mb-4\",attrs:{\"label\":\"Año\",\"name\":\"statementsYearSelected\",\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.statementsYearSelected),callback:function ($$v) {_vm.statementsYearSelected=$$v},expression:\"statementsYearSelected\"}},_vm._l((_vm.years),function(item,index){return _c('vs-select-item',{key:index,staticClass:\"w-full\",attrs:{\"value\":index,\"text\":item}})}),1)],1),_c('vs-col',{staticClass:\"ml-4\",attrs:{\"vs-lg\":\"7\",\"vs-sm\":\"12\",\"vs-xs\":\"12\"}},[_c('div',{staticClass:\"flex flex-wrap mt-6\"},[_c('vs-button',{staticClass:\"mr-5\",attrs:{\"color\":\"success\"},on:{\"click\":function($event){return _vm.getStatementsAvailable()}}},[_vm._v(\"Consultar\")]),_c('vs-button',{attrs:{\"disabled\":_vm.selectedStatements.length <= 0,\"color\":\"success\"},on:{\"click\":function($event){return _vm.downloadZipStatements()}}},[_vm._v(\"Descargar zip\")])],1)])],1),_c('vs-table',{ref:\"table\",staticClass:\"mt-6\",attrs:{\"multiple\":\"\",\"data\":_vm.statements,\"pagination\":\"\",\"stripe\":\"\",\"max-items\":_vm.itemsPerPage,\"noDataText\":\"No hay datos disponibles\"},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}},[_c('vs-td',[_c('p',{staticClass:\"pl-3 bold\"},[_vm._v(_vm._s(tr.month)+\" \"+_vm._s(tr.year))])]),_c('vs-td',[_c('p',{staticClass:\"font-medium truncate\"},[_vm._v(_vm._s(tr.start_period)+\" al \"+_vm._s(tr.end_period))])]),_c('vs-td',{staticClass:\"whitespace-no-wrap\"},[_c('vs-button',{staticClass:\"px-2 py-1\",attrs:{\"type\":\"line\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.downloadPdf(tr)}}},[_vm._v(\"Descargar\")])],1),_c('vs-td',{staticClass:\"whitespace-no-wrap\"},[(tr.has_xml)?_c('vs-button',{staticClass:\"px-2 py-1\",attrs:{\"type\":\"line\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.downloadXml(tr)}}},[_vm._v(\"Descargar\")]):_c('p',[_vm._v(\"--\")])],1)],1)}),1)]}}]),model:{value:(_vm.selectedStatements),callback:function ($$v) {_vm.selectedStatements=$$v},expression:\"selectedStatements\"}},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\",attrs:{\"sort-key\":\"month\"}},[_vm._v(\"MES\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"PERIODO\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"PDF\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"XML\")])],1)],2)],1),_c('vs-tab',{attrs:{\"label\":\"Resumen de retenciones\"}},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col xxl:w-3/4 w-full\"},[_c('p',{staticClass:\"bold\"},[_vm._v(\" En esta sección puedes consultar el resumen de la información de las retenciones realizadas por algunos Solicitantes relacionadas a los proyectos que invertiste. \")])])]),_c('vs-row',[_c('vs-col',{attrs:{\"vs-lg\":\"2\",\"vs-sm\":\"6\",\"vs-xs\":\"12\"}},[_c('vs-select',{staticClass:\"w-full mb-4\",attrs:{\"label\":\"Año\",\"name\":\"retainersYearSelected\",\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.retainersYearSelected),callback:function ($$v) {_vm.retainersYearSelected=$$v},expression:\"retainersYearSelected\"}},_vm._l((_vm.years),function(item,index){return _c('vs-select-item',{key:index,staticClass:\"w-full\",attrs:{\"value\":index,\"text\":item}})}),1)],1),_c('vs-col',{staticClass:\"ml-4\",attrs:{\"vs-lg\":\"7\",\"vs-sm\":\"12\",\"vs-xs\":\"12\"}},[_c('div',{staticClass:\"flex flex-wrap mt-6\"},[_c('vs-button',{attrs:{\"color\":\"success\"},on:{\"click\":function($event){return _vm.getRetainers()}}},[_vm._v(\"Consultar\")])],1)])],1),_c('vs-table',{ref:\"table\",staticClass:\"mt-6\",attrs:{\"data\":_vm.retainers,\"pagination\":\"\",\"stripe\":\"\",\"max-items\":_vm.itemsPerPage,\"noDataText\":\"No hay datos disponibles\"},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}},[_c('vs-td',[_c('p',{staticClass:\"bold\"},[_vm._v(_vm._s(tr.rfc))])]),_c('vs-td',[_c('p',{staticClass:\"font-medium truncate\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(tr.amount))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"font-medium truncate\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(tr.isr))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"font-medium truncate\"},[_vm._v(_vm._s(tr.last_update)+\" \")])])],1)}),1)]}}])},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\",attrs:{\"sort-key\":\"month\"}},[_vm._v(\"RFC RETENEDOR\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"MONTO DEL INGRESO RECIBIDO\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"ISR RETENIDO\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"ÚLT. ACTUALIZACIÓN\")])],1)],2)],1),_c('vs-tab',{attrs:{\"label\":\"Facturas de intereses\"}},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col xxl:w-3/4 w-full\"},[_c('p',[_c('span',{staticClass:\"bold\"},[_vm._v(\"¡No olvides tener a la mano tu Segundo Factor de Autenticación!\")])]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" Consulta y descarga las facturas de intereses mas recientes, ante cualquier duda o comentario estaremos para apoyarte a través del chat de la plataforma.\")])])]),_c('vs-row',[_c('vs-col',{attrs:{\"vs-lg\":\"2\",\"vs-sm\":\"6\",\"vs-xs\":\"12\"}},[_c('vs-select',{staticClass:\"w-full mb-4\",attrs:{\"label\":\"Mes\",\"name\":\"invoicesMonthSelected\",\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.invoicesMonthSelected),callback:function ($$v) {_vm.invoicesMonthSelected=$$v},expression:\"invoicesMonthSelected\"}},_vm._l((_vm.months),function(item,index){return _c('vs-select-item',{key:index,staticClass:\"w-full\",attrs:{\"value\":index+1,\"text\":item}})}),1)],1),_c('vs-col',{staticClass:\"ml-2\",attrs:{\"vs-lg\":\"2\",\"vs-sm\":\"6\",\"vs-xs\":\"12\"}},[_c('vs-select',{staticClass:\"w-full mb-4\",attrs:{\"label\":\"Año\",\"name\":\"invoicesYearSelected\",\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.invoicesYearSelected),callback:function ($$v) {_vm.invoicesYearSelected=$$v},expression:\"invoicesYearSelected\"}},_vm._l((_vm.years),function(item,index){return _c('vs-select-item',{key:index,staticClass:\"w-full\",attrs:{\"value\":index,\"text\":item}})}),1)],1),_c('vs-col',{staticClass:\"ml-4\",attrs:{\"vs-lg\":\"7\",\"vs-sm\":\"12\",\"vs-xs\":\"12\"}},[_c('div',{staticClass:\"flex flex-wrap mt-6\"},[_c('vs-button',{staticClass:\"mr-3\",attrs:{\"color\":\"success\"},on:{\"click\":function($event){return _vm.getInvoicesAvailable()}}},[_vm._v(\"Consultar\")]),_c('vs-button',{attrs:{\"disabled\":_vm.selectedInvoices.length <= 0,\"color\":\"success\"},on:{\"click\":function($event){return _vm.downloadZipInvoices()}}},[_vm._v(\"Descargar zip\")])],1)])],1),_c('vs-table',{ref:\"table\",attrs:{\"multiple\":\"\",\"data\":_vm.allInvoices,\"pagination\":\"\",\"stripe\":\"\",\"max-items\":_vm.itemsPerPage,\"noDataText\":\"No hay datos disponibles\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return [_c('tbody',_vm._l((data),function(tri,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tri}},[_c('vs-td'),_c('vs-td',{staticClass:\"text-left\"},[_vm._v(_vm._s(tri.invoice_date))]),_c('vs-td',{staticClass:\"text-left\"},[_vm._v(_vm._s(tri.project_ids))]),_c('vs-td',{staticClass:\"text-left\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(tri.interests)))]),_c('vs-td',{staticClass:\"text-left\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(tri.tax)))]),_c('vs-td',{staticClass:\"text-left\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(tri.tax_retention)))]),_c('vs-td',{staticClass:\"text-left\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(tri.isr_retention)))]),_c('vs-td',{staticClass:\"text-left\"},[(tri.pdf_file)?_c('vs-button',{staticClass:\"px-2 py-1\",attrs:{\"type\":\"line\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.downloadPdfInvoice(tri)}}},[_vm._v(\"Descargar\")]):_vm._e()],1),_c('vs-td',{staticClass:\"text-left\"},[(tri.xml_file)?_c('vs-button',{staticClass:\"px-2 py-1\",attrs:{\"type\":\"line\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.downloadXmlInvoice(tri)}}},[_vm._v(\"Descargar\")]):_vm._e()],1)],1)}),1)]}}]),model:{value:(_vm.selectedInvoices),callback:function ($$v) {_vm.selectedInvoices=$$v},expression:\"selectedInvoices\"}},[_c('template',{slot:\"thead\"},[_c('vs-th'),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"FECHA\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"ID PROYECTO(S)\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"INTERESES\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"IVA\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"IVA RETENIDO\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"ISR RETENIDO\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"PDF\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"XML\")])],1)],2)],1)],1)],1),_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 realizar la descarga del archivo.\"},on:{\"on-code-validated\":_vm.onAuth,\"on-code-invalid\":_vm.onAuthFailed}})],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!./StatementsPage.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!./StatementsPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StatementsPage.vue?vue&type=template&id=7feaaa46&\"\nimport script from \"./StatementsPage.vue?vue&type=script&lang=js&\"\nexport * from \"./StatementsPage.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","import moment from 'moment'\nexport default {\n methods: {\n constitutionDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('LL');\n }\n },\n constitutionPaymentDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM');\n }\n },\n explicitDateFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY [a las] hh:mm a')\n }\n },\n sessionFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY h:mm a')\n }\n },\n regularDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY')\n }\n },\n yearDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY/MM/DD')\n }\n },\n midDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY')\n }\n },\n humanDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('D MMM YYYY')\n }\n },\n dateTimeFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY HH:mm')\n }\n },\n dateTime12Format(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY h:mm a')\n }\n },\n compactDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMM [´]YY')\n }\n },\n logDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY HH:mm')\n }\n },\n timeAgoFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").fromNow();\n }\n },\n calculateAgeFromDate(value){\n if(value){\n return moment().diff(value, 'years');\n }\n },\n minDateForValidAge(years){\n return moment().subtract(years, 'years').format();\n },\n calculateDaysDiff(value){\n if(value){\n let m = moment(String(value));\n let n = moment();\n return n.diff(m, 'days');\n }\n },\n validatedDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\";\n }\n }\n },\n getDateFromInputs(yy,mm,dd){\n let yint = parseInt(yy);\n let mint = parseInt(mm);\n mint -= 1;\n if(yint <= 20){\n // suponer que el año es entre 2000 y 2010\n yint += 2000;\n }\n else {\n // suponer que el año es menor a 2000\n yint += 1900;\n }\n\n let m = moment({ year: yint, month: mint, day: dd});\n if(m.isValid()){\n return m.format('YYYY-MM-DD');\n }\n else {\n return false;\n }\n },\n nextAccreditationDate(value){\n if(value){\n let m = moment(String(value)).add(180, 'days');\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\"\n }\n },\n setDateToEndOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.endOf('day')\n let end = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return end;\n },\n setDateToStartOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.startOf('day');\n let start = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return start;\n },\n signatureFormatDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY HH:mm:ss');\n }\n }\n return \"No establecido\";\n },\n signatureValidityDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n }\n return \"No establecido\";\n },\n incomeSpecial(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('MMMM - YYYY').toUpperCase();\n }\n }\n return \"No establecido\";\n },\n timeStampFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD-MM-YYYY-HH_mm_ss')\n }\n },\n formatDatepicker(value)\n {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY-MM-DD')\n }\n },\n isAfter(date, maxDate, limit = 'year')\n {\n return moment(date).isAfter(maxDate, limit); \n },\n getPreviousMonth(date, format = \"MMMM\", step = 1)\n {\n return moment(date).locale(\"es\").subtract(step, 'months').format(format);\n },\n getDay(date)\n {\n return moment(date).locale(\"es\").format('DD');\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","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}"],"sourceRoot":""}