{"version":3,"sources":["webpack:///./src/components/profile_shared/BeneficiariesList.vue?4871","webpack:///./src/components/profile_shared/BeneficiaryForm.vue","webpack:///src/components/profile_shared/BeneficiaryForm.vue","webpack:///./src/components/profile_shared/BeneficiaryForm.vue?3adc","webpack:///./src/components/profile_shared/BeneficiaryForm.vue?a6a9","webpack:///./src/views/investor/profile/BeneficiariesPage.vue","webpack:///src/views/investor/profile/BeneficiariesPage.vue","webpack:///./src/views/investor/profile/BeneficiariesPage.vue?8259","webpack:///./src/views/investor/profile/BeneficiariesPage.vue?6e13","webpack:///./src/views/investor/profile/InvestorBeneficiaries.vue","webpack:///./src/components/profile_shared/BeneficiariesList.vue","webpack:///src/components/profile_shared/BeneficiariesList.vue","webpack:///./src/components/profile_shared/BeneficiariesList.vue?ab03","webpack:///./src/components/profile_shared/BeneficiariesList.vue?2985","webpack:///./src/components/profile_shared/BeneficiaryDetail.vue","webpack:///src/components/profile_shared/BeneficiaryDetail.vue","webpack:///./src/components/profile_shared/BeneficiaryDetail.vue?811e","webpack:///./src/components/profile_shared/BeneficiaryDetail.vue?8f05","webpack:///src/views/investor/profile/InvestorBeneficiaries.vue","webpack:///./src/views/investor/profile/InvestorBeneficiaries.vue?d358","webpack:///./src/views/investor/profile/InvestorBeneficiaries.vue?6b80","webpack:///./src/components/profile_shared/BeneficiaryForm.vue?9d8f","webpack:///./src/components/mixins/formatHelper.js"],"names":["render","_vm","this","_c","_self","isMounted","totalPercentageAvailable","staticClass","attrs","_v","_e","_s","prcgFormat","failed","_l","allSections","section","key","id","public_name","public_description","fields","f","isAutoFormField","ref","refInFor","getDataContainer","collections","countries","onFieldChange","evaluateCondition","on","$event","saveBeneficiaryData","goBackScreen","staticRenderFns","name","props","newRecord","beneficiaryId","role","type","required","mixins","data","errorCode","onError","loading","isRefreshing","errorMssg","successMssg","documentsStates","beneficiary","address","city_id","cities","states_beneficiary_address","cities_beneficiary_address","neighborhoods_beneficiary_address","validatedFields","mexicoCountryId","components","FormField","watch","computed","is_mexico_selected","is_mexico_not_selected","methods","s","formField","documentSet","target_id","ff","allValid","ok","docTargetEvaluator","processError","validate_user_birthdate","result","verify_zip_code_beneficiary_address","zipCodeVariable","statesArray","citiesArray","neighborhoodsArray","set_zip_code_values_beneficiary_address","component","InvestorBeneficiaries","beneficiaries","_m","openNew","loadedBeneficiaries","onEditRequest","onShowRequest","isBeneficiaryPopupActive","formPopupTitle","editBeneficiaryId","onCancelForm","onSavedForm","isBeneficiaryDetailPopupActive","showBeneficiaryId","scopedSlots","_u","fn","tr","indextr","complete_name","dateStr","email","country_calling_code","phoneFormat","phone","beneficiary_percentage","stopPropagation","showItemRequest","editItemRequest","removeItemRequest","slot","columns","col","idx","sortable","title","columnDefinitions","itemsPerPageDefinitions","orderKey","beneficiaryToRemove","itemsPerPage","es","client_id","currentPage","queriedItems","accessToken","color","text","acceptText","cancelText","accept","beneficiary_id","catch","error","citizenshipName","percentageFormat","street","ext_number","int_number","zipCode","neighborhoodName","municipality","countryName","stateFormat","cityFormat","notFound","breadcrumbItems","url","active","mounted","editBeneficiaryData","params","BeneficiariesList","BeneficiaryForm","BeneficiaryDetail","get","set","format_price","value","decimales","val","toFixed","replace","toString","costFormat","costFormatNoCents","decimalsFormat","explicitMoneyFormat","mxnFormat","parseInt","moneyFormat","decimalPercentFormat","roundedFormat","c","cd","Math","round","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","filename","icon","find","lt","getAmountWithNoCommissionTax","amount","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision"],"mappings":"g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BAEA,wGACA,qCAEA,SACA,aACA,iBAGA,2BACA,IACA,kFACA,gBACA,wBACA,qFACA,oFACA,4CACA,8BACA,SACA,8BAIA,+BACA,IACA,4BACA,6CACA,+BACA,gEACA,SACA,eAGA,2BACA,yBAOA,4BACA,kCACA,KAGA,CACA,qBACA,gCACA,qBACA,MACA,8BAEA,wBAGA,oDAZA,2BAgBA,uBAEA,sCACA,MACA,SAGA,0CACA,WAMA,2BACA,SACA,wBACA,IACA,EADA,4BAEA,gBACA9C,OACA,mCACA,cACAmD,UAEA,eACA,4BACA,YACA,6BACA,iBACA,OACAA,KACAnD,oBACA,+BACA,UAGA,8BAGA,UAGA,qBACA,SACA,IACA,sCACA,oFACA,wCAEA,uCACA,qBAEA,iFAGA,oEAEAoD,KAEA,SACA,sBACAA,KACA,0DAEA,UAGA7C,iBACA,oBACA,WAGAC,qBACA,sBACA,gBAKA6C,wBACA,mBACA,SAEA,mEACA,OAGAC,gBACA,gBACA,kBAIAC,0BACA,6DACA,cAEA,wCACA,kDACA,+EACA,KAeA,OAdA,YAKA,sDAIA,OARAC,MAaA,GAGApD,oBACA,oBACA,iBACA,MACA,kBADA,GAIAqD,sCACA,iCACAC,+CACAC,yCACAC,yCACAC,0DAGAC,0CACA,uEACAJ,+CACAC,yCACAC,yCACAC,4DCzXwW,I,wBCQpWE,EAAY,eACd,EACArF,EACAmC,GACA,EACA,KACA,WACA,MAIa,OAAAkD,E,6ECnBf,IAAIrF,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACA,EAAG,YAAY,CAACF,EAAIQ,GAAG,kBAAkBN,EAAG,OAAO,CAACF,EAAIQ,GAAG,UAAU,GAAGN,EAAG,2BAA2B,IAEzLgC,EAAkB,G,YCYP,GACfC,yBACAyB,YACAyB,+BCjByX,I,YCOrXD,EAAY,eACd,EACArF,EACAmC,GACA,EACA,KACA,KACA,MAIa,aAAAk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ACnDE,EAAoBL,EAAOI,EAC/B,OAAOC,M","file":"js/chunk-c0c79a90.2258c529.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!./BeneficiariesList.vue?vue&type=style&index=0&id=e3286a40&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.isMounted && _vm.totalPercentageAvailable <= 0)?_c('vs-alert',{staticClass:\"h-full mt-4\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-alert-triangle\",\"color\":\"danger\"}},[_c('span',{staticClass:\"font-regular\"},[_vm._v(\"No puedes agregar más beneficiarios porque no hay \"),_c('strong',[_vm._v(\"porcentaje de participación\")]),_vm._v(\" disponible. Elimina o reasigna los porcentajes ya establecidos.\")])]):_vm._e(),(_vm.isMounted && _vm.totalPercentageAvailable > 0)?_c('vs-alert',{staticClass:\"h-full mt-4\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-check\",\"color\":\"success\"}},[_c('span',{staticClass:\"font-regular\"},[_vm._v(\"El porcentaje de participación disponible es de \"),_c('strong',[_vm._v(_vm._s(_vm.prcgFormat(_vm.totalPercentageAvailable*100, 2)))]),_vm._v(\".\")])]):_vm._e(),(_vm.isMounted && !_vm.failed)?_c('div',[_vm._l((_vm.allSections),function(section){return _c('vx-card',{key:section.id,staticClass:\"mb-5\",attrs:{\"title\":section.public_name}},[(section.public_description != null)?_c('p',{staticClass:\"mb-4\"},[_vm._v(_vm._s(section.public_description))]):_vm._e(),_c('div',{staticClass:\"vx-row\"},[_vm._l((section.fields),function(f){return [(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:\"allSections\",refInFor:true,attrs:{\"f\":f,\"dataContainer\":_vm.getDataContainer(section.id),\"collectionsRoot\":_vm.collections,\"countriesList\":_vm.collections.countries,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):_vm._e()]})],2)])}),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-end\"},[_c('vs-button',{on:{\"click\":function($event){return _vm.saveBeneficiaryData()}}},[_vm._v(\"Guardar cambios\")]),_c('vs-button',{staticClass:\"ml-4\",attrs:{\"type\":\"border\"},on:{\"click\":function($event){return _vm.goBackScreen()}}},[_vm._v(\"Cancelar\")])],1)])])],2):_vm._e(),(_vm.failed)?_c('load-error'):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BeneficiaryForm.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!./BeneficiaryForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BeneficiaryForm.vue?vue&type=template&id=2cb118f4&scoped=true&\"\nimport script from \"./BeneficiaryForm.vue?vue&type=script&lang=js&\"\nexport * from \"./BeneficiaryForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BeneficiaryForm.vue?vue&type=style&index=0&id=2cb118f4&prod&scoped=true&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 \"2cb118f4\",\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',[_c('big-title',[_vm._v(\" Beneficiarios\"),_c('span',[_vm._v(\".\")])])],1),_c('investor-beneficiaries')],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!./BeneficiariesPage.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!./BeneficiariesPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BeneficiariesPage.vue?vue&type=template&id=7302c5f0&\"\nimport script from \"./BeneficiariesPage.vue?vue&type=script&lang=js&\"\nexport * from \"./BeneficiariesPage.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',[(_vm.beneficiaries > 0)?[_vm._m(0)]:[_vm._m(1)],_c('div',{staticClass:\"vx-row mt-1 mb-3\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"mr-auto mt-2\",on:{\"click\":_vm.openNew}},[_vm._v(\"Agregar beneficiario\")])],1)])]),_c('beneficiaries-list',{attrs:{\"role\":\"investor\"},on:{\"loadedBeneficiaries\":_vm.loadedBeneficiaries,\"on-edit-request\":_vm.onEditRequest,\"on-show-request\":_vm.onShowRequest}}),(_vm.isBeneficiaryPopupActive)?_c('vs-popup',{staticClass:\"extended-popup\",attrs:{\"title\":_vm.formPopupTitle,\"active\":_vm.isBeneficiaryPopupActive},on:{\"update:active\":function($event){_vm.isBeneficiaryPopupActive=$event}}},[_c('beneficiary-form',{attrs:{\"new-record\":_vm.newRecord,\"beneficiary-id\":_vm.editBeneficiaryId,\"role\":\"investor\"},on:{\"on-cancel\":_vm.onCancelForm,\"on-saved\":_vm.onSavedForm}})],1):_vm._e(),(_vm.isBeneficiaryDetailPopupActive)?_c('vs-popup',{staticClass:\"extended-popup\",attrs:{\"title\":\"Datos de beneficiario\",\"active\":_vm.isBeneficiaryDetailPopupActive},on:{\"update:active\":function($event){_vm.isBeneficiaryDetailPopupActive=$event}}},[_c('beneficiary-detail',{attrs:{\"id\":_vm.showBeneficiaryId}})],1):_vm._e()],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 md:w-2/3\"},[_c('h4',[_vm._v(\"¿Quiénes son tus beneficiarios?\")]),_c('p',{staticClass:\"mb-2 mt-2\"},[_vm._v(\" Consulta y administra los datos e información más relevante de tus beneficiarios. Procura mantener este apartado lo más actualizado posible. \")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h4',[_vm._v(\"No tienes beneficiarios registrados\")]),_c('p',{staticClass:\"mt-2 mb-2\"},[_vm._v(\"Podrás regresar cuando lo desees, para administrar los registros que existan.\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"data-list-container data-list-list-view data-list-high-rows vs-con-loading__container\",attrs:{\"id\":\"main-div\"}},[_c('vs-table',{ref:\"table\",attrs:{\"pagination\":\"\",\"max-items\":\"10\",\"data\":_vm.beneficiaries,\"noDataText\":\"No hay datos disponibles\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return _vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tr}},[_c('vs-td',[_vm._v(\" \"+_vm._s(tr.complete_name)+\" \")]),_c('vs-td',[_vm._v(\" \"+_vm._s(_vm.dateStr(tr))+\" \")]),_c('vs-td',[_vm._v(\" \"+_vm._s(tr.email)+\" \")]),_c('vs-td',[_vm._v(\" \"+_vm._s(`${tr.country_calling_code} ${_vm.phoneFormat(tr.phone)}`)+\" \")]),_c('vs-td',[_vm._v(\" \"+_vm._s(_vm.prcgFormat(tr.beneficiary_percentage*100, 2))+\" \")]),_c('vs-td',[_c('feather-icon',{staticClass:\"ml-6\",attrs:{\"icon\":\"EyeIcon\",\"svgClasses\":\"w-5 h-5 hover:text-danger stroke-current cursor-pointer\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.showItemRequest(tr)}}}),_c('feather-icon',{staticClass:\"ml-6\",attrs:{\"icon\":\"EditIcon\",\"svgClasses\":\"w-5 h-5 hover:text-danger stroke-current cursor-pointer\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.editItemRequest(tr)}}}),_c('feather-icon',{staticClass:\"ml-6\",attrs:{\"icon\":\"TrashIcon\",\"svgClasses\":\"w-5 h-5 hover:text-danger stroke-current cursor-pointer\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.removeItemRequest(tr)}}})],1)],1)})}}])},[_c('div',{staticClass:\"flex flex-wrap-reverse items-center flex-grow justify-between mt-4\",attrs:{\"slot\":\"header\"},slot:\"header\"}),_c('template',{slot:\"thead\"},_vm._l((_vm.columns),function(col,idx){return _c('vs-th',{key:idx,attrs:{\"sort-key\":col.sortable ? col.key : null}},[_vm._v(_vm._s(col.title))])}),1)],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./BeneficiariesList.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!./BeneficiariesList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BeneficiariesList.vue?vue&type=template&id=e3286a40&\"\nimport script from \"./BeneficiariesList.vue?vue&type=script&lang=js&\"\nexport * from \"./BeneficiariesList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BeneficiariesList.vue?vue&type=style&index=0&id=e3286a40&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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.isMounted)?_c('vx-card',{staticClass:\"mb-6\"},[_c('h4',{staticClass:\"bold\"},[_c('span',[_vm._v(\"Identificación\")]),_vm._v(\". \")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col flex-1 header-info-col-1\"},[_c('table',{attrs:{\"aria-describedby\":\"general\"}},[_c('th',{attrs:{\"scope\":\"col\"}}),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Nombre completo:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.beneficiary.complete_name))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Fecha de nacimiento:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.dateStr(_vm.beneficiary)))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Correo electrónico:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.beneficiary.email))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Teléfono celular:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(\" \"+_vm._s(`${_vm.beneficiary.country_calling_code} ${_vm.phoneFormat(_vm.beneficiary.phone)}`)+\" \")])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Nacionalidad:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.citizenshipName(_vm.beneficiary)))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"% de participación:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.percentageFormat(_vm.beneficiary)))])])])])]),_c('br'),_c('h4',{staticClass:\"bold\"},[_c('span',[_vm._v(\"Domicilio\")]),_vm._v(\". \")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col flex-1 header-info-col-1\"},[_c('table',{attrs:{\"aria-describedby\":\"general\"}},[_c('th',{attrs:{\"scope\":\"col\"}}),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Calle:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.address.street))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"No. exterior:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.address.ext_number))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"No. interior:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.address.int_number))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Código postal:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.zipCode(_vm.beneficiary)))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Colonia o urbanización:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.neighborhoodName(_vm.beneficiary)))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Delegación o municipio:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.address.municipality))])])])]),_c('div',{staticClass:\"vx-col flex-1 header-info-col-1\"},[_c('table',{attrs:{\"aria-describedby\":\"general\"}},[_c('th',{attrs:{\"scope\":\"col\"}}),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"País:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.countryName(_vm.beneficiary)))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Estado:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.stateFormat(_vm.beneficiary)))])]),_c('tr',[_c('td',{staticClass:\"font-semibold\"},[_vm._v(\"Ciudad o población:\")]),_c('td',{staticClass:\"pl-5\"},[_vm._v(_vm._s(_vm.cityFormat(_vm.beneficiary)))])])])])])]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BeneficiaryDetail.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!./BeneficiaryDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BeneficiaryDetail.vue?vue&type=template&id=95a351b4&scoped=true&\"\nimport script from \"./BeneficiaryDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./BeneficiaryDetail.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 \"95a351b4\",\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!./InvestorBeneficiaries.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!./InvestorBeneficiaries.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvestorBeneficiaries.vue?vue&type=template&id=31824f44&scoped=true&\"\nimport script from \"./InvestorBeneficiaries.vue?vue&type=script&lang=js&\"\nexport * from \"./InvestorBeneficiaries.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 \"31824f44\",\n null\n \n)\n\nexport default component.exports","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!./BeneficiaryForm.vue?vue&type=style&index=0&id=2cb118f4&prod&scoped=true&lang=css&\"","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":""}