{"version":3,"sources":["webpack:///./src/views/applicant/KycProviderPage.vue","webpack:///src/views/applicant/KycProviderPage.vue","webpack:///./src/views/applicant/KycProviderPage.vue?5e61","webpack:///./src/views/applicant/KycProviderPage.vue?4c20"],"names":["render","_vm","this","_c","_self","_v","isMounted","failed","staticClass","attrs","slot","model","value","activeTab","callback","$$v","expression","on","$event","$router","push","name","_l","sectionGroups","group","i","key","title","icon","sections","section","data","id","public_name","public_description","_s","_e","fields","f","isAutoFormField","ref","slug","refInFor","getContainerForField","collections","onFieldChange","evaluateCondition","fname","should_fill_person_type_3","countries","resource_provider","business_profile","saveTabChanges","staticRenderFns","pfaeTabsDefs","pmTabsDefs","sectionsToContainers","containers","db","path","arrayDefs","getFirst","onNull","requiredObjects","arrayPaths","mixins","loading","isMoral","isRefreshing","errorMssg","successMssg","allSections","tabs","cities","states","personal_occupations","business_activities","states_resource_provider_address","cities_resource_provider_address","neighborhoods_resource_provider_address","states_business_resource_provider_address","cities_business_resource_provider_address","neighborhoods_business_resource_provider_address","base","user","vulnerable_activities","pld_resource_provider","personal_profile","address","country_id","mexicoCountryId","basePayload","validatedFields","components","FormField","BusinessProfileTinsControl","BusinessRepresentativesControl","BusinessStakeholdersControl","computed","resourceProviderBankAccount","should_fill_person_type_1","should_fill_person_type_2","should_fill_person_type_2_and_iban_provided","should_fill_person_type_0","should_fill_stock_market_listed","should_fill_stock_market_listed_or_social_capital_more_than_50","should_fill_person_type_3_and_iban_provided","is_mexico_selected","is_mexico_not_selected","watch","methods","console","s","field","msg","sp_failed","collectFormData","payload","obj","allValid","spvalid","setSectionGroups","t","reloadSectionGroups","getContainersForSection","c","sectionContainers","container","setContainerFromDef","ac","setPersonTypeInfo","sid","personal_curp_conditions_changed","newBankAccount","iban","account","routing_number","validate_business_profile_tins","validate_business_representatives","validate_business_stakeholders","validate_user_birthdate","verify_zip_code_resource_provider_address","zipCodeVariable","statesArray","citiesArray","neighborhoodsArray","set_zip_code_values_resource_provider_address","component"],"mappings":"yHA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EAC,8CACA,8CAEA,kIAOAC,qBACA,oBAGA,iFAFA,kFAKAC,yBACA,oBAGA,iFAFA,mFAMA,gBACA,gBACA,wBACA,4BACA,wBACA,+BACA,mBACA,wBACA,kBACA,iBAEAC,OACA3C,sBACA,KACA,mBAGA,2BAIA4C,SACA,uBACA,2BACA,wBACA,yBACA,2BACA,sBAEA,wBACAC,4BACA,mCACA,KAGA,CAKA,GAJA,gBAEA,yCACA,iCACA,qCAIA,OAFA,6BACA,iBAIA,IAEA,8FACAA,0BAEA,sBACA,wBAEA,SACA,qCAGA,qBA1BA,2BA6BA,wBAEA,uCACA,MACA,SAIA,0CACA,MACA,SAIA,sDACA,MACA,SAIA,4CACA,KAmBA,OAlBAvF,uBACAwF,6DAEA,wFACA,0CAEA,IACA,iBACAC,cACAC,iCAEA,qEACAC,YAMA,GAOAC,mBACA,SACA,wCA8BA,OA7BA5F,uBACAM,yBACA,iDACA,iBAIA,kBACAO,cACAgF,sCAGA,CACA,WACA,mBAEAC,2CAGAA,GAAAtF,mBACAK,cACAiF,mCAIA,qDAIA,GAEA,4BACA,SACA,wBACA,oBACA,gBACA,kDACA,WACAC,KAEA,YACA,6BAGA,UAEA,2CACA,SACA,gBACA,gBACA,2CACA,YACA,uBACA,6BACA,IACAC,KACA,iBACAP,QACAC,cAEA,yCAKA,UAGArE,iBACA,qBACAkE,mCACA,YAIAjE,qBACA,uBACA,cAEA,OADAiE,8CACA,IAGAU,mBACA,sBACA,OAAA9F,cAAAC,YAAAa,aACA,KAEAiF,uBACA,wCACA,YACA,OAAA3F,OAAA0B,+CACA5B,eAGA,uCAGAL,aACA,8BAGAmG,sBACA,+BACAnG,uBACAwF,0DAIArE,0BACA,6CACA,SAKA,aAJA,oEACA,OAMAiF,2BACA,yBACA,KAIA,CACA,SAKA,OAJAC,yBACA,kCACAC,QAAApE,QAAAC,YAAAoE,gBAEA,EARA,OADA,0DACA,MAWAC,uBACA,8CACA,qBACA,WAeA,OAdA,cACA,wBACAC,OAEA,mBAEAA,8BAGA,IACAA,EAAA,mBAAAA,2BACAA,GACAF,WAEA,EAGA,UAGA,yBACA,IACA,mCACA,gEACA,iBAEA,SACA,aACA,iBAGA,oBACA,IACA,oBACA,8BACA,8BACA,8BACA,8BACA,8BACA,gCAEA,8BACA,8BACA,8BACA,yBAEA,6BACAf,qBACA,oCAIA,SACA,aACA,iBAGA,wBACA,IACA,2DACA,sCAEA,SACA,aACA,iBAGAkB,oBACA,6EACA,gBAEA,gBAEA,2BACA,yCACA,sFACA,oGAGA,uBACA,IACA,iDACA,kCAEA,8CACA,+BAEA,kEACA,6CAEA,6DACA,4CACA,SACA,aACA,iBAIA,+BACA,IACA,WAEAC,EADA,aACAA,yDAGAA,yDAEA,iDACA,+BACA,aACA,mGAGA,mGAEA,SACA,eAGAC,mCACA,mDACA,iBACA,mBACA,eACA,gBAEA,gCAEA,oDADA,MACA,KAGA,OAIA,wDAGA,iBACA,qBAEA,+CADA,OACA,EAEA,OACA,EAGA,UAIA,oDAGA,iBACA,qBACA,oDACA,UACA,+DAIA,0DAGAC,iBACA,OAAArG,QAAAsG,UAAAC,aAAAC,sBAEAC,iCACA,yDACA,uDAMAC,oCACA,4DACA,0DAMAC,iCACA,yDACA,uDAMAC,0BACA,oFACA,cAEAC,4CACA,kFACAC,qDACAC,+CACAC,+CACAC,gEAGAC,gDACA,6JACAJ,qDACAC,+CACAC,+CACAC,kEC9rBwW,I,YCOpWE,EAAY,eACd,EACAnJ,EACAqD,GACA,EACA,KACA,KACA,MAIa,aAAA8F,E","file":"js/chunk-2d0aaa03.c983ff0f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('big-title',[_vm._v(\" Queremos \"),_c('span',[_vm._v(\"conocerte\")]),_vm._v(\". \")]),(_vm.isMounted && !_vm.failed)?_c('vx-card',[_c('div',{staticClass:\"tabs-container px-6 pt-6\",attrs:{\"slot\":\"no-body\"},slot:\"no-body\"},[_c('vs-tabs',{staticClass:\"tab-action-btn-fill-container\",model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('vs-tab',{attrs:{\"label\":\"Queremos conocerte\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'kycSolicitante' })}}}),_c('vs-tab',{attrs:{\"label\":\"Clasificación de persona\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'kycSolicitantePersona' })}}}),_vm._l((_vm.sectionGroups),function(group,i){return _c('vs-tab',{key:i,attrs:{\"label\":group.title,\"icon-pack\":\"feather\",\"icon\":group.icon}},[_c('div',{staticClass:\"tab-text\"},[_vm._l((group.sections),function(section){return _c('vx-card',{key:section.data.id,staticClass:\"mb-5\",attrs:{\"title\":section.data.public_name}},[(section.data.public_description != null)?_c('p',{staticClass:\"mb-4\"},[_vm._v(_vm._s(section.data.public_description))]):_vm._e(),_c('div',{staticClass:\"vx-row\"},[_vm._l((section.data.fields),function(f){return [(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:group.slug,refInFor:true,attrs:{\"f\":f,\"dataContainer\":_vm.getContainerForField(section, f),\"collectionsRoot\":_vm.collections,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):(f.fname == 'business_tins' && _vm.should_fill_person_type_3)?_c('business-profile-tins-control',{key:f.id,ref:\"business_profile_tins_component\",refInFor:true,attrs:{\"f\":f,\"countries\":_vm.collections.countries,\"business_profile_id\":_vm.resource_provider.business_profile.id}}):(f.fname == 'business_representatives')?_c('business-representatives-control',{key:f.id,ref:\"business_representatives_component\",refInFor:true,attrs:{\"f\":f,\"business_profile_id\":_vm.resource_provider.business_profile.id}}):(f.fname == 'business_stakeholders')?_c('business-stakeholders-control',{key:f.id,ref:\"business_stakeholders_component\",refInFor:true,attrs:{\"f\":f,\"countries\":_vm.collections.countries,\"business_profile_id\":_vm.resource_provider.business_profile.id}}):_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',{staticClass:\"ml-auto mt-2\",on:{\"click\":function($event){return _vm.saveTabChanges(group.slug)}}},[_vm._v(\"Guardar cambios\")])],1)])])],2)])})],2)],1)]):_vm._e(),(_vm.failed)?_c('load-error'):_vm._e()],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!./KycProviderPage.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!./KycProviderPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./KycProviderPage.vue?vue&type=template&id=95a24f64&\"\nimport script from \"./KycProviderPage.vue?vue&type=script&lang=js&\"\nexport * from \"./KycProviderPage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}