{"version":3,"sources":["webpack:///./src/components/stp/StpAccountInfo.vue?2260","webpack:///./src/views/investor/funds/PayFunds.vue","webpack:///src/views/investor/funds/PayFunds.vue","webpack:///./src/views/investor/funds/PayFunds.vue?f0cd","webpack:///./src/views/investor/funds/PayFunds.vue?a1e1","webpack:///./src/views/investor/funds/PayFunds.vue?82a0","webpack:///./src/components/mixins/stpHelper.js","webpack:///./src/components/mixins/formatHelper.js","webpack:///./src/helpers/investorInfoHelper.js","webpack:///./src/views/investor/funds/PayFunds.vue?eeff","webpack:///./src/components/stp/StpAccountInfo.vue","webpack:///src/components/stp/StpAccountInfo.vue","webpack:///./src/components/stp/StpAccountInfo.vue?9407","webpack:///./src/components/stp/StpAccountInfo.vue?64f0"],"names":["render","_vm","this","_c","_self","_v","staticClass","on","loadedRequirements","mainComplianceRequirements","shouldProcessWithStp","isMounted","contractLevel","attrs","user_id","stpClabe","_s","currentLimitOperationAmount","nextLimitOperationAmount","nativeOn","$event","goToIncrementLevel","apply","arguments","_e","contractLevelData","monthly_limit_1","monthly_limit_2","account_limit_1","staticRenderFns","mixins","formatHelper","currencyHelper","stpHelper","userComplianceHelper","userIdentityHelper","investorInfoHelper","directives","money","components","StpAccountInfo","ComplianceBanner","ContractLevelsInfo","InvestorContractLevelBanner","data","aliasCurrency","amount","decimal","thousands","prefix","suffix","precision","masked","user_person_type","requirements","panel","transfer","stg","cards","cardSelected","getting","add","got_cards","brand","name_card","card_number","cvv","month","year","card_id","device","new_balance","voucherCompleted","paymentProcessor","type","fund","allowed","computed","isMexicanPM","isMexicanPF","isForeign","isForeignPF","isForeignPM","isFinancialEntity","shouldDisplayStpHoldMessage","watch","methods","parseValue","formatPrice","name","component","investor_id","g","getInvestorAccount","account","undefined","nacc","createInvestorAccount","status","stp_clabe","url","response","axios","get","error","post","sleepPromise","ms","Promise","resolve","setTimeout","supplier_id","getSupplierAccount","applicantId","console","log","format_price","value","decimales","val","toFixed","replace","toString","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","explicitMoneyFormat","mxnFormat","parseInt","moneyFormat","decimalPercentFormat","roundedFormat","c","cd","Math","round","phoneFormat","substr","phoneFormatV2","visibleLastNChars","chars","valueString","length","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","i","charAt","toUpperCase","join","isValidRfcFormat","rfc","patternPM","patternPF","match","isValidRfcFormatByPersonType","isMoral","pattern","genericRFC1","genericRFC2","isValidCurpFormat","curp","isValid","diccionario","lngSuma","lngDigito","indexOf","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanType","loanTypeIcons","id","filename","icon","find","lt","getAmountWithNoCommissionTax","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision","iid","requiredObjects","params","e","warn","moralTypeValue","moralForeignTypeValue","moralFinancialTypeValue","personalTypeValue","personalForeignTypeValue","userIsMoral","person_type","userIsForeign","getInvestorType","base","user","hasError","reload","isSupplier","_m","hasStpAccount","stopPropagation","copyToClipboard","copied","props","SuccessAlert","loaded","window","el","document"],"mappings":"kHAAA,W,kECAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,YAAY,CAACF,EAAII,GAAG,YAAYF,EAAG,OAAO,CAACF,EAAII,GAAG,YAAYJ,EAAII,GAAG,QAAQF,EAAG,oBAAoB,CAACG,YAAY,OAAOC,GAAG,CAAC,mBAAqBN,EAAIO,sBAAuBP,EAAIQ,4BAA8B,EAAGN,EAAG,MAAM,CAAEF,EAAIS,sBAAwBT,EAAIU,UAAW,CAACR,EAAG,UAAU,CAACA,EAAG,mCAAmC,GAAyB,GAArBF,EAAIW,eAA2C,GAArBX,EAAIW,cAAoB,CAACT,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,mCAAmC,CAACH,EAAG,UAAU,CAACG,YAAY,QAAQ,CAACH,EA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/chunk-31d8ad9e.124e9956.js","sourcesContent":["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!./StpAccountInfo.vue?vue&type=style&index=0&id=30bbec6a&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('big-title',[_vm._v(\" Abonar \"),_c('span',[_vm._v(\"fondos\")]),_vm._v(\". \")]),_c('compliance-banner',{staticClass:\"mb-4\",on:{\"loadedRequirements\":_vm.loadedRequirements}}),(_vm.mainComplianceRequirements <= 0)?_c('div',[(_vm.shouldProcessWithStp && _vm.isMounted)?[_c('vx-card',[_c('investor-contract-level-banner')],1),(_vm.contractLevel == 1 || _vm.contractLevel == 2)?[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full md:w-2/3 xl:w-3/4\"},[_c('vx-card',{staticClass:\"mt-4\"},[_c('stp-account-info',{attrs:{\"user_id\":_vm.user_id,\"stpClabe\":_vm.stpClabe}})],1)],1),_c('div',{staticClass:\"vx-col w-full md:w-1/3 xl:w-1/4\"},[_c('vx-card',{staticClass:\"mt-4 border-primary text-center\"},[_c('div',{staticClass:\"vx-row mt-5\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h3',[_vm._v(\" ¡Aumenta tu límite de operación mensual! \")])])]),_c('div',{staticClass:\"vx-row mt-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h4',{staticClass:\"regular\"},[_vm._v(\" Tu límite actual es de \"),_c('strong',[_vm._v(_vm._s(_vm.currentLimitOperationAmount))])])])]),_c('div',{staticClass:\"vx-row mt-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h5',{staticClass:\"mb-5 regular\"},[_vm._v(\" Para aumentar tu límite \"+_vm._s(_vm.nextLimitOperationAmount)+\" solo tienes que \"),(_vm.contractLevel == 1)?[_vm._v(\" ingresar tu domicilio e identificación oficial. \")]:[_vm._v(\" realizar un abono desde una cuenta bancaria a tu nombre para validarla. \")]],2)])]),(_vm.contractLevel == 1)?_c('div',{staticClass:\"vx-row mt-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vs-button',{attrs:{\"id\":\"raise_limit_btn\",\"color\":\"success\",\"type\":\"filled\"},nativeOn:{\"click\":function($event){return _vm.goToIncrementLevel.apply(null, arguments)}}},[_vm._v(\"Aumentar límite\")])],1)]):_vm._e(),_c('div',{staticClass:\"vx-row mt-3\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('contract-levels-info',{attrs:{\"current-level\":_vm.contractLevel,\"monthly-limit-amount-one\":_vm.contractLevelData.monthly_limit_1,\"monthly-limit-amount-two\":_vm.contractLevelData.monthly_limit_2,\"account-limit-one\":_vm.contractLevelData.account_limit_1}})],1)])])],1)])]:_c('vx-card',{staticClass:\"mt-4\"},[_c('stp-account-info',{attrs:{\"user_id\":_vm.user_id,\"stpClabe\":_vm.stpClabe}})],1)]:(_vm.isMounted)?_c('vx-card',{staticClass:\"mt-4\",attrs:{\"title\":\"Ya falta muy poco para que puedas abonar fondos.\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',[_vm._v(\" Pronto podrás realizar ¡tu primera inversión de impacto en RedGirasol! Te pedimos estar atento a tu correo electrónico para recibir la confirmación de que tu cuenta ya está lista para operar. Este proceso puede tomar aproximadamente entre 5 y 10 minutos, y en algunos casos hasta un día hábil. Si tienes alguna duda sobre el proceso de verificación estamos para apoyarte a través del chat de la plataforma o en cualquiera de nuestras redes sociales. \")])])])]):_vm._e()],2):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\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!./PayFunds.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!./PayFunds.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PayFunds.vue?vue&type=template&id=1d60da85&\"\nimport script from \"./PayFunds.vue?vue&type=script&lang=js&\"\nexport * from \"./PayFunds.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PayFunds.vue?vue&type=style&index=0&id=1d60da85&prod&lang=css&\"\nimport style1 from \"./PayFunds.vue?vue&type=style&index=1&id=1d60da85&prod&lang=scss&\"\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 * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayFunds.vue?vue&type=style&index=1&id=1d60da85&prod&lang=scss&\"","export default {\n methods: {\n async checkOrCreateInvestorAccount(investor_id){\n let g = await this.getInvestorAccount(investor_id);\n\n if(g === false){\n return null;\n }\n\n let account = null;\n\n // verificar si hay cuentas ligadas al inversionista\n if (g === undefined || g === null) {\n // no hay cuentas de STP ligadas al inversionista, se solicita la creacion\n let nacc = await this.createInvestorAccount(investor_id);\n if(nacc === false){\n return null;\n }\n else {\n account = nacc;\n }\n }\n else {\n account = g;\n }\n\n // se verifica si la cuenta esta en estatus created\n if(account.status === \"created\"){\n return account.stp_clabe;\n }\n else{\n // se retorna null para utilizar openpay\n return null;\n }\n },\n async getInvestorAccount(investor_id) {\n let url = `/api/stp/v1/account/investorId/${investor_id}`;\n try {\n let response = await axios.get(url);\n return response.data;\n } catch (error) {\n return false;\n }\n },\n async getInvestorAccountStpClabe(investor_id){\n let account = await this.getInvestorAccount(investor_id);\n if(account === false || account === undefined || account === null){\n return null;\n }\n // se verifica si la cuenta esta en estatus created\n if(account.status === \"created\"){\n return account.stp_clabe;\n }\n else{\n return null;\n }\n },\n async createInvestorAccount(investor_id) {\n let url = `/api/stp/v1/account/investorId/${investor_id}`;\n try {\n const response = await axios.post(url, {});\n const account = response.data;\n if(account.stp_clabe){\n // si la creacion de la cuenta es correcta, se hace un timeout\n // de 7 segundos para dar tiempo a la activación\n await (async() => {\n await this.sleepPromise(7000);\n })();\n\n // solicitar la informacion de la cuenta de nuevo\n // despues del timeout\n let g = await this.getInvestorAccount(investor_id);\n if(g !== false && g !== null){\n return g;\n }\n }\n // se retorna false en caso de fallo\n return false;\n } catch (error) {\n return false;\n }\n },\n sleepPromise(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n // #region supplier\n async getSupplierAccount(supplier_id) {\n let url = `/api/stp/v1/account/supplierId/${supplier_id}`;\n try {\n let response = await axios.get(url);\n return response.data;\n } catch (error) {\n return false;\n }\n },\n async getSupplierAccountStpClabe(supplier_id){\n let account = await this.getSupplierAccount(supplier_id);\n if(account === false || account === undefined || account === null){\n return null;\n }\n // se verifica si la cuenta esta en estatus created\n if(account.status === \"created\"){\n return account.stp_clabe;\n }\n else{\n return null;\n }\n },\n\n // #endregion\n\n //#region applicant \n async createStpAccount(applicantId) {\n try {\n await axios.post(`/api/stp/v1/account/applicantId/${applicantId}`, {})\n } catch (error) {\n console.log(\"Error creating STP account for applicant\");\n }\n },\n //#endregion\n }\n}\n","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}","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!./PayFunds.vue?vue&type=style&index=0&id=1d60da85&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.hasError)?_c('div',{staticClass:\"vx-row\"},[_c('span',{staticClass:\"error_text\"},[_vm._v(\"Ha ocurrido un error mientras se obtenían los datos. Lamentamos el inconveniente. \"),_c('a',{staticClass:\"underline bold black\",attrs:{\"href\":\"#\"},on:{\"click\":_vm.reload}},[_vm._v(\"Intente recargando la página.\")])])]):_vm._e(),(!_vm.isSupplier && !_vm.hasError)?[_vm._m(0),_c('div',{staticClass:\"vx-row mt-5 mb-6\"},[_c('div',{staticClass:\"vx-col w-full\"},[(_vm.hasStpAccount)?_c('div',{staticClass:\"vx-col w-full flex\"},[_c('div',{staticClass:\"stp-section-container\"},[_c('span',{staticClass:\"sm:mx-8 mx-4 bold\"},[_vm._v(_vm._s(_vm.stpClabe))])]),_c('vs-button',{staticClass:\"ml-2 pt-3 pb-2 px-3\",attrs:{\"id\":\"copy_accounts_btn\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.copyToClipboard.apply(null, arguments)}}},[_c('feather-icon',{attrs:{\"icon\":\"FileTextIcon\",\"svg-classes\":\"h-9 w-9\"}})],1)],1):_c('span',{staticClass:\"sm:mx-8 mx-4 bold\"},[_vm._v(\"Contáctanos a través del chat para generar tu cuenta STP y puedas realizar este proceso.\")])]),_vm._m(1)]),(_vm.copied)?_c('div',{staticClass:\"vx-row mt-3 mb-6\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-10/12 w-full\"},[_c('vs-alert',{attrs:{\"active\":_vm.copied,\"color\":\"success\",\"closable\":\"\"},on:{\"update:active\":function($event){_vm.copied=$event}}},[_vm._v(\"CLABE copiada al portapapeles.\\\"\")])],1)]):_vm._e(),_vm._m(2),_c('div',{staticClass:\"vx-row mt-3\"},[_c('div',{staticClass:\"vx-col w-full\"},[_vm._m(3),_vm._m(4),_c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"3\")]),_vm._v(\" Ingresa la cuenta CLABE personalizada: \"),_c('span',{staticClass:\"bold-inline\"},[_vm._v(_vm._s(_vm.stpClabe))]),_vm._v(\".\")]),_vm._m(5),_vm._m(6)])]),_vm._m(7)]:[_vm._m(8),(_vm.hasStpAccount)?_c('div',{staticClass:\"vx-row mt-5 mb-6\"},[_c('div',{staticClass:\"vx-col w-full\"},[(_vm.hasStpAccount)?_c('div',{staticClass:\"vx-col w-full flex\"},[_c('div',{staticClass:\"stp-section-container\"},[_c('span',{staticClass:\"sm:mx-8 mx-4 bold\"},[_vm._v(_vm._s(_vm.stpClabe))])]),_c('vs-button',{staticClass:\"ml-2 pt-3 pb-2 px-3\",attrs:{\"id\":\"copy_accounts_btn\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.copyToClipboard.apply(null, arguments)}}},[_c('feather-icon',{attrs:{\"icon\":\"FileTextIcon\",\"svg-classes\":\"h-9 w-9\"}})],1)],1):_c('span',{staticClass:\"sm:mx-8 mx-4 bold\"},[_vm._v(\"Contáctanos a través del chat para generar tu cuenta STP y puedas realizar este proceso.\")])]),_vm._m(9)]):_c('div',{staticClass:\"vx-row mb-6\"},[_vm._m(10)]),(_vm.copied)?_c('div',{staticClass:\"vx-row mt-3 mb-6\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-10/12 w-full\"},[_c('vs-alert',{attrs:{\"active\":_vm.copied,\"color\":\"success\",\"closable\":\"\"},on:{\"update:active\":function($event){_vm.copied=$event}}},[_vm._v(\"CLABE copiada al portapapeles.\\\"\")])],1)]):_vm._e(),_vm._m(11),_c('div',{staticClass:\"vx-row mt-3\"},[_c('div',{staticClass:\"vx-col w-full\"},[_vm._m(12),_vm._m(13),_c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"3\")]),_vm._v(\" Ingresa la cuenta CLABE personalizada: \"),_c('span',{staticClass:\"bold-inline\"},[_vm._v(_vm._s(_vm.hasStpAccount ? _vm.stpClabe : 'En caso de no contar con una cuenta CLABE STP, puedes solicitarla a través del chat.'))]),_vm._v(\".\")]),_vm._m(14),_vm._m(15)])]),_vm._m(16)]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h4',[_vm._v(\"¡Abonar fondos a tu cuenta es muy fácil!\")]),_c('p',{staticClass:\"mt-3\"},[_vm._v(\" Envía un SPEI o transferencia electrónica desde tu banca por internet seleccionando el listado de bancos STP (Sistema de Transferencias y Pagos) a la siguiente cuenta CLABE. Esta cuenta CLABE no cambiará, es tuya y se generó ¡sólo para ti! \")]),_c('p',{staticClass:\"mt-3 bold\"},[_vm._v(\" Considera que deberás ser titular de las cuentas desde donde envíes fondos, ya que de lo contrario, tendremos que reembolsar tu abono. \")]),_c('p',{staticClass:\"mt-3\"},[_vm._v(\" Todas las cuentas con las que abones serán registradas para el momento en el que decidas retirar tus fondos. Consúltalas en el apartado de “Banco” dentro de “Mi perfil”. \")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-col w-full mt-4\"},[_c('p',{staticClass:\"italic\"},[_vm._v(\"Puedes copiar tu CLABE personalizada al portapapeles al dar clic en el icono junto a la misma. \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-10/12 w-full\"},[_c('h4',[_vm._v(\"¿No sabes cuáles son los pasos a seguir? ¡Te los explicamos!\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"1\")]),_vm._v(\" Una vez que entres al portal de tu banca en línea o tu app de banca móvil, selecciona la opción enviar un SPEI.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"2\")]),_vm._v(\" En el listado de bancos destino, selecciona \"),_c('span',{staticClass:\"bold-inline\"},[_vm._v(\"STP (Sistema de Transferencias y Pagos).\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"4\")]),_vm._v(\" En el campo “referencia” o “concepto” podrás escribir lo que tú consideres.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"5\")]),_vm._v(\" En el campo “beneficiario”, escribe tu nombre completo.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-10/12 w-full\"},[_c('p',[_c('br'),_c('em',[_vm._v(\" Ya que hayas realizado el proceso, verás reflejado el monto en tu saldo disponible en un plazo máximo de 2 horas. Si tienes dudas, estamos para ayudarte a través del chat de la plataforma. \")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h4',[_vm._v(\"¡Verificar tu cuenta es muy fácil!\")]),_c('p',{staticClass:\"mt-3\"},[_vm._v(\" Envía un SPEI o transferencia electrónica con valor de \"),_c('strong',[_vm._v(\"$1.00 MXN (un peso)\")]),_vm._v(\" desde tu banca por internet seleccionando el listado de bancos STP (Sistema de Transferencias y Pagos) a la siguiente cuenta CLABE. Esta cuenta CLABE no cambiará, es tuya y se generó ¡sólo para ti! \")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-col w-full mt-4\"},[_c('p',{staticClass:\"italic\"},[_vm._v(\"Puedes copiar tu CLABE personalizada al portapapeles al dar clic en el icono junto a la misma. \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-col w-full mt-4\"},[_c('p',{staticClass:\"bold italic\"},[_vm._v(\"En caso de no contar con una cuenta CLABE STP, puedes solicitarla a través del chat. \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-10/12 w-full\"},[_c('h4',[_vm._v(\"¿No sabes cuáles son los pasos a seguir? ¡Te los explicamos!\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"1\")]),_vm._v(\" Una vez que entres al portal de tu banca en línea o tu app de banca móvil, selecciona la opción enviar un SPEI.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"2\")]),_vm._v(\" En el listado de bancos destino, selecciona \"),_c('span',{staticClass:\"bold-inline\"},[_vm._v(\"STP (Sistema de Transferencias y Pagos).\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"4\")]),_vm._v(\" En el campo “referencia” o “concepto” podrás escribir lo que tú consideres.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mbot\"},[_c('span',{staticClass:\"list-number\"},[_vm._v(\"5\")]),_vm._v(\" En el campo “beneficiario”, escribe tu nombre completo.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-10/12 w-full\"},[_c('p',[_c('br'),_c('em',[_vm._v(\" Ya que hayas realizado el proceso, tu cuenta estará en proceso de verificación para que podamos trabajar con ella. Si tienes dudas, estamos para ayudarte a través del chat de la plataforma. \")])])])])\n}]\n\nexport { render, staticRenderFns }","\n\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!./StpAccountInfo.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!./StpAccountInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StpAccountInfo.vue?vue&type=template&id=30bbec6a&\"\nimport script from \"./StpAccountInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./StpAccountInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./StpAccountInfo.vue?vue&type=style&index=0&id=30bbec6a&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"],"sourceRoot":""}