{"version":3,"sources":["webpack:///./src/components/compliance/ComplianceBanner.vue","webpack:///src/components/compliance/ComplianceBanner.vue","webpack:///./src/components/compliance/ComplianceBanner.vue?52df","webpack:///./src/components/compliance/ComplianceBanner.vue?49bd","webpack:///./src/assets/images/mati/201219_TUTORIAL-09.jpg","webpack:///./src/components/supplier/projects/PreProjectLandingPage.vue?01bc","webpack:///./src/components/mati/IdentityVerification.vue?a48a","webpack:///./src/assets/images/mati/201219_TUTORIAL-11.jpg","webpack:///./node_modules/vue-form-wizard/dist/vue-form-wizard.js","webpack:///./src/components/mati/MatiPopup.vue","webpack:///./src/components/mati/IdentityVerification.vue","webpack:///src/components/mati/IdentityVerification.vue","webpack:///./src/components/mati/IdentityVerification.vue?4a3d","webpack:///./src/components/mati/IdentityVerification.vue?8958","webpack:///src/components/mati/MatiPopup.vue","webpack:///./src/components/mati/MatiPopup.vue?be73","webpack:///./src/components/mati/MatiPopup.vue?5faa","webpack:///./src/assets/images/mati/201219_TUTORIAL-10.jpg","webpack:///./src/assets/images/mati/201219_TUTORIAL-04a.jpg","webpack:///./src/assets/images/mati/201219_TUTORIAL-07.jpg","webpack:///./src/assets/images/mati/201219_TUTORIAL-01.jpg","webpack:///./src/helpers/userComplianceHelper.js","webpack:///./src/assets/images/mati/201219_TUTORIAL-12.jpg","webpack:///./src/assets/images/mati/201219_TUTORIAL-05.jpg","webpack:///./src/components/applicant/widgets/ApplicantIdentityVerification.vue","webpack:///src/components/applicant/widgets/ApplicantIdentityVerification.vue","webpack:///./src/components/applicant/widgets/ApplicantIdentityVerification.vue?28a8","webpack:///./src/components/applicant/widgets/ApplicantIdentityVerification.vue?c90a","webpack:///./src/helpers/userIdentityHelper.js","webpack:///./src/assets/images/mati/201219_TUTORIAL-04b.jpg","webpack:///./src/assets/images/mati/201219_TUTORIAL-08.jpg","webpack:///./src/components/mixins/formatHelper.js","webpack:///./src/assets/images/figs/geolocation.png","webpack:///./src/views/supplier/projects/PreprojectPage.vue","webpack:///./src/components/supplier/projects/PreProject.vue","webpack:///src/components/supplier/projects/PreProject.vue","webpack:///./src/components/supplier/projects/PreProject.vue?01dc","webpack:///./src/components/supplier/projects/PreProject.vue?56e9","webpack:///./src/components/supplier/projects/PreProjectLandingPage.vue","webpack:///src/components/supplier/projects/PreProjectLandingPage.vue","webpack:///./src/components/supplier/projects/PreProjectLandingPage.vue?6c76","webpack:///./src/components/supplier/projects/PreProjectLandingPage.vue?ad5c","webpack:///src/views/supplier/projects/PreprojectPage.vue","webpack:///./src/views/supplier/projects/PreprojectPage.vue?ce7d","webpack:///./src/views/supplier/projects/PreprojectPage.vue?7017","webpack:///./src/assets/images/mati/201219_TUTORIAL-02.jpg","webpack:///./src/components/supplier/projects/PreProject.vue?7e06","webpack:///./src/assets/images/mati/201219_TUTORIAL-06.jpg"],"names":["render","_vm","this","_c","_self","isMounted","complianceRequirements","length","showBanner","attrs","focusRequirement","panel_text","staticClass","staticStyle","_v","_s","_l","orderedRequirements","requirement","index","key","class","colClass","on","$event","stopPropagation","onRequirementClick","button_text","_e","geolocationPopUpActive","isLocationDenied","geolocationImg","askForLocation","staticRenderFns","name","props","wFull","default","type","mixins","data","reloadPage","locationOptions","enableHighAccuracy","timeout","maximumAge","computed","methods","window","locationEnabled","locationDenied","locationRequirement","onErrorLocation","component","module","exports","t","e","self","n","a","i","l","call","m","c","d","o","Object","defineProperty","configurable","enumerable","get","__esModule","prototype","hasOwnProperty","p","s","r","u","options","_compiled","functional","_scopeId","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","b","beforeCreate","_injectStyles","concat","esModule","components","WizardButton","WizardStep","title","String","subtitle","nextButtonText","backButtonText","finishButtonText","hideButtons","Boolean","validateOnBack","color","errorColor","shape","layout","stepsClasses","Array","stepSize","validator","indexOf","transition","startIndex","Number","provide","addTab","removeTab","activeTabIndex","currentPercentage","maxStep","loading","tabs","slotProps","nextTab","prevTab","isLastStep","fillButtonStyle","tabCount","isVertical","displayPrevButton","stepPercentage","progressBarStyle","backgroundColor","width","progress","borderColor","emitTabChange","$emit","$slots","tabId","replace","splice","changeTab","reset","forEach","checked","navigateToTab","activateAll","beforeTabChange","afterTabChange","setValidationError","focusNextTab","focusPrevTab","setLoading","validationError","validateBeforeChange","then","executeBeforeChange","catch","beforeChange","afterChange","arguments","active","activateTabAndCheckStep","tryChangeRoute","$router","route","push","checkRouteChange","find","deactivateTabs","activateTab","initializeTabs","console","warn","mounted","watch","tab","iconActiveStyle","stepCheckedStyle","errorStyle","stepTitleStyle","isStepSquare","isTabShape","icon","Function","additionalInfo","inject","$parent","destroyed","$el","parentNode","removeChild","value","install","Vue","use","$createElement","tabindex","_t","disabled","href","square_shape","tab_shape","style","role","id","mode","has_error","document","activeElement","findIndex","getElementById","focus","vertical","keyup","_k","keyCode","button","nativeOn","click","directives","rawName","expression","isMatiPopupActive","userIdToActivate","personalProfileId","citizenship","onMatiProcessStarted","onMatiProcessFinished","canDoVerification","compatible","ref","matiBtnColor","mati_client_id","JSON","stringify","user_id","usuario","personal_profile_id","mati_flow_id","finished","mati_foreign_flow_id","error_message","imagesClass","classForImage","img1","img2","mexicano","img3a","img3b","img4","img5","img6","img7","img8","img9","img10","img11","startVerification","step","detail","status","exited","response","identity_verifier","error","verifyCompatibility","$","IdentityVerification","required","set","activePromptShowEvent","windowWidth","tags","axios","post","reqs","getComplianceRequirements","filter","f","is_complied","requirements","notComplied","checkNotCompliedRequirements","includes","uid","curp","mainComplianceStatus","mverficationNoSuccessful","processWasStarted","mProcessIsPending","mshouldRunMatiProcess","openMatiPopup","userId","isMoral","personType","isPublic","MatiPopup","identity","pfaeTabs","moralTabs","identityIsCompleted","mverificationIsCompleted","mverificationIsRejected","mverificationIsInProcess","mverificationisNewRequired","mverificationIsReviewNeeded","res","getUserIdentity","identity_status","ppid","getPersonalIdentity","shouldRunMatiProcess","matiIsPending","matiIsRunning","verificationIsCompleted","verificationIsRejected","verificationIsInProcess","verificationisNewRequired","verificationIsReviewNeeded","format_price","decimales","val","toFixed","toString","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","explicitMoneyFormat","mxnFormat","parseInt","moneyFormat","decimalPercentFormat","roundedFormat","cd","Math","round","phoneFormat","substr","phoneFormatV2","visibleLastNChars","chars","valueString","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","charAt","toUpperCase","join","isValidRfcFormat","rfc","patternPM","patternPF","match","isValidRfcFormatByPersonType","pattern","genericRFC1","genericRFC2","isValidCurpFormat","isValid","diccionario","lngSuma","lngDigito","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanType","loanTypeIcons","url","filename","lt","getAmountWithNoCommissionTax","amount","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision","failed","formSubmitted","validateSourceType","collections","sourceTypes","text","canSelectExistingApplicant","model","sourceType","callback","$$v","_n","errors","has","first","has_pgm_potential_applicants","pgm_potential_applicants_options","payload","customer_id","$set","secondTabTitle","validateSelectType","sourceTypeNew","selectField","field_name","personTypes","person_type","sourceTypeExisting","clientsList","fullname","existingApplicantId","pfTypeValue","SupplierId","requestTypeSelected","isPartialCreation","savePartialPreproject","formatDocField","partialCreationClientName","pmTypeValue","formField","partialCreationUserId","documentSet","onDocumentUploadSuccess","onDocumentUploadError","savePreproject","projectIsCreated","identityVerificationHasExpired","needIdentityVerification","applicant_is_pf","current_user_id","createdClient","client_personal","first_name","second_name","last_name_1","last_name_2","user","email","country_calling_code","new_phone","birth_date","real_gender","citizenship_named","formSections","section","public_name","public_description","fields","isAutoFormField","refInFor","onFieldChange","evaluateCondition","saveGroupChanges","cdcPayload","tyc","showWhatsapp","doRequestCDCNip","client$phone","nipIsCreated","doAuthorizationCDC","verification_code","personalUpdated","maxUdisPF","db_field","showFormFields","popupActive","SupplierStatus","doSaveProject","sourceTypesOptions","personTypeOptions","genderDefs","k","v","emailNotAvailable","FormField","FormWizard","TabContent","DownloadButton","ApplicantIdentityVerification","isTypeSelected","errorMssg","successMssg","createdProject","titleBase","pTypeSrc","pfaeTypeValue","person_type_section_id","form_id_pf","form_id_pfae","form_id_pm","pfFormatDocId","pmFormatDocId","pf_person_type","pm_person_type","form","allSections","documentsFields","documentsStates","cities","states","countries","genders","neighborhoods","states_application_address","cities_application_address","neighborhoods_application_address","states_application_business_address","cities_application_business_address","neighborhoods_application_business_address","minimumDaysToCreditReview","created_id","errorEmailNotAvailable","requieredDocs","uploadedDocs","succededDocs","failedDocs","docsSuccess","count","max","mexicoCountryId","partialCreationConfirmed","slas","min_applicant_age","max_applicant_age","max_first_project_supplier_total_cost_mxn","min_financed_amount_mxn","max_applicant_pf_financed_amount_udis","max_financed_amount_mxn","udis","continue","pfae_tax_profile","potentialApplicants","metamapPopUpActive","code","nip","totalTime","loadingTextTimed","statusMetamap","crowdfunding_loan_type_pf","crowdfunding_loan_type_pfae_pm","nipCounter","uniquePhoneResponse","whatsappTime","wiz","is_legal_representative_owner","should_show_address_document","is_legal_representative_not_owner","should_show_is_legal_rep_owner_question","currentProjectId","currentClientUserId","should_fill_owner_bdate_gender","should_fill_owner_rfc_curp_fiscal_rec","is_project_view","is_pf_and_tax_profile_one","should_block_email","should_block_phone","initIdentityVerificationTimer","clearInterval","mssg","acceptText","cancelText","accept","cancel","close","resolve","reject","confirmFullCreation","client_id","loadingMessage","wFooter","allValid","spvalid","milis","ok","doc","stopped","sleep","formId","vFieldsCount","ff","handleFinanciableSection","sections","goToProject","params","finish","docTargetEvaluator","validate_client_age_legal","client_birthdate_invalid","owner_curp_conditions_changed","client_curp_conditions_changed","trigger_curp_conditions_changed","verify_zip_code_application_address","addressName","statesArray","citiesArray","neighborhoodsArray","verify_zip_code_application_business_address","initNipCounter","project_id","validate_client_unique_phone_error","txt","askForIdentityVerification","doContinueWithIdentityVerification","dbField","StorageURL","SessionLocationRegistered","sendWPP","apply","myFunction","ComplianceBanner","source","supplierReferredUrl","messageWpp","message","navigator","project","allowed","PreProject","PreProjectLand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AOvB,EAAI+d,mBAAmB,CAAC/d,EAAIa,GAAG,eAAe,MAAM,IAErzpBmB,EAAkB,G,sHC+gBtB,MAAMgc,EAAqB,CAC3B,CAAA3b,OAAAwW,0BACA,CAAAxW,OAAAwW,+BAGMoF,EAAoB,CAC1B,CAAA5b,OAAAwW,uBAEA,CAAAxW,OAAAwW,uBAEMqF,EAAa,CACnB,CAAAC,IAAAC,YACA,CAAAD,IAAAC,YAEMC,EAAoB,oBAEX,OACfpc,mBACAK,4CACAyD,YACAuY,iBACAC,2BACAC,2BACAC,sBACAC,sCAEAnc,OACA,OACAoc,kBACAve,aACAyH,WACA2Q,UACAoG,aACAC,eAEAxD,oBACAyD,kBAEAC,kCACA7Y,8BACA8Y,YAEAlF,gBACAK,qBAEAI,cACA0E,gBACAnE,cAEAoE,0BACAC,aACAC,gBACAC,cAEAC,iBACAC,iBACAC,iBACAC,iBAEAC,QAEAC,eACApD,gBAEAqD,mBACAC,mBAEAlH,aACAmH,UACAC,UACAC,aACApH,cACAqB,cACAgG,UACAC,iBAEAC,8BACAC,8BACAC,qCAEAC,uCACAC,uCACAC,+CAGApG,eAEAL,eAEAN,SACAS,kBAGAI,yBACAxB,gCACA2H,8BAEAzH,gBACA0H,gBACAC,4BACAC,mBACAC,kBACAC,kBACAC,gBAEAC,iBAEAC,QACAC,MAGAC,oBAEAC,8BACA1G,uBACAE,oBACAC,+BACAG,2BAEAqG,MACAC,uBACAC,uBACAC,+CACAC,6BACAC,2CACAC,8BAEAjE,YACAkE,UACA/D,eACAgE,YACAC,mBACAC,uBACAtH,sBACA9J,YACAwC,uBACAsI,qBACAuG,sBACA/E,YACA/C,iBACAgD,UAEA+E,UACAC,SACA5E,gBACA6E,aACAC,oBACA9G,kCACA+G,mBACA3G,mBACA+B,mBACA6E,4BACAC,iCACAC,aACAC,yBACAlH,4BACA4B,gBACAuF,kBAGA,gBAUA,GATA,gBACA,wBACA,4BACA,4BACA,sBACA,iCACA,0BACA,kBACA,iBACA,iCACA,2BACAC,iBAEA,0BACA,wCACA,wCAIA9f,UACA0W,+BACA,0CAEAC,mCACA,yCAAAlN,WAAAuM,oEAEA+J,gCACA,4DAEAC,+BACA,4DAEAC,oCACA,4DAEAC,0CACA,UAEAnJ,iBACA,oEACA,SAGA,yCACA,4BAGA,qCAIAoJ,mBACA,aAEAC,sBACA,aAEAC,iCACA,UAGAC,wCACA,UAGAC,kBACA,UAEAC,4BACA,UAEA7H,kBACA,oCAEAG,kBACA,yCAEA2H,qBACA,gEAEAC,qBACA,iEAGAlY,OACAxD,sBACA,KACA,mBAEA,0BAGAsa,wBACA,QACA,4BACA,iEACA,wBACA,oBAIAK,yBACA,KAEA,8BAIA1f,SACA0gB,gCACA,kBACA,gFACA,+BACA,uDACA,mBACA,kBACA,gFACA3b,yBACA,oBACA,uCACA4b,iBACA,uBAEA,MAEA,kCACA,IACA,2FACA,gCACA,SACA,aACA,8BAGA,sBACA,8PACAC,kDACA,iBACA/c,gBACAtE,eACA6D,2CACA2S,OACA8K,2BACAC,uBACAC,wBACAC,mBACAC,qBAGA,6BACA,wJACAL,kDACA,iBACA/c,gBACAtE,eACA6D,2CACA2S,OACA8K,2BACAC,uBACAC,wBACAC,mBACAC,qBAGA,2BACA,sCACA,gBACA,kDACA,EACA,qCAEA,gDACAC,QAIA,oDACAA,QAGA,qDACA,yFACAC,yBAEA,mBAGA,2BACA,sCAIA,GAHA,gBACA,4BAEA,yCACA,mCACA,uCACA,SAKA,qCACAD,OALAC,cASA,iFACAA,6BAIA,gCACA,uDACA,iIACAA,gBAEA,mBACA,0FACA,kDACAD,QAGA,+GACAC,yBAGA,mBAGA,kCAyBA,OAxBA,gBACA,mCAEA,iBACAtd,gBACAtE,eACA6D,kCACA2S,sDACA8K,uBACAC,sBACAE,YAAA,kCACAD,YAAA,yCAGA,WACA,gDACA,iBAFA,GAMA,gCACA,2BAGA,+BAEAK,uBACA,iBACAvd,gBACAtE,eACA6D,kCACA2S,yJACA8K,uBACAC,sBACAC,oCAGA,6BACA,gBACA,IACA,OAAAM,oCACA,mEACA,mBACA,gCACA,uBAGA,wBACA,6BAGA,SACA,eACA,4BAEA,iBAGA,4BACA,IACA,+DACA,wFAAAA,iBACA,wDACA,2BAQA,OAPA,iBACAxd,eACAT,8BACA2S,UACA8K,uBAGA,EAEA,mCACA,8CAEA,8BACA,8BAGA,SAEA,OADA,cACA,IAIA,uBACA,iBACA,sCACA,kCACA,KAIA,CAEA,qEACA,8BACAS,MAEA,uBACA,gCAEA,GADA,qBACA,KAEA,GADAJ,MACA,4BACA,yBACA,CACA,4DACAK,8BAGA,CACA,gCAEA,wHACAxL,gGACA,iBACAlS,eACAT,2CACA2S,OACA8K,4BAIA,+CAEAM,YApCA,0BACAA,MAsCA,mBAGA,qBAGAlG,gBACA,oBACA,iBACA,uBAEA,8BACA,sCAOA,IACA,OAAAoG,oCACA,mEACA,mBACA,gCACA,uBAGA,wBACA,6BAGA,SACA,eACA,gCAMA,2BAEA,6CACA,MACA,SAIA,kDACA,MACA,SAIA,4DACA,YAIA,0BASA,IAEA,4BACA,SACA,gBACA,gBACA,wCACA,OACAG,MAGA,UAEA,0BACA,SACA,qDACA,wCACA,4BAKA,2BACA,eAQA,uGAEA,CACA,4DACA,OACAA,MAIA,UAEA,2CACA,IAEA,EAFA,KACA,gBAEA,gBACAzS,OACA,4BACA,8BACA,6BACA,iBACA,yBACA,gBACA,SAEA0S,KACA9Q,cACA,+BAIA,OAEA,GADA8Q,KACA,gBACA,6BACA1S,cACA,8BAGAA,oBACA,+BAEA,WAKA,UAGA,kCACA,8BACA,IACA,OACA,IACA,8FACAoP,SACA,SACA,aAGA,yEACA,0EAEA,OADA,4HACA,EAGA,kDACA,wDAEA,OADA,iFACA,EAGA,0DACA,iCAuBA,8FACA,wDAGA,OAFA,qCACA,6DAAAuD,IACA,EAEA,UAEA,qBACA,SACA,+BACA,IACA,oCACA/K,iDACA,8DACA,mBACA,0BACA,0CAGA,6BACA,yBAEA,6BAaA,kCAZAgL,OAiBA,wBACAA,KACA,gBACA,+BAGA,6BAIA,SACA,sBACAA,KACA,iDACA,KACA,+BAGA,iBAGA,UAEA,8BACA,IAEA,2BACA,8DACA,2BAEA,SACA,eAGA,6BACA,IAEA,oCACA,8DACA,0BAEA,SACA,eAGA,yBACA,oBACA,oBACA,kBACA,2BACA,4BACA,eACA,uGAGA,CACA,8BACA,gBACA,6DACAC,6BANA,wCASA,aACA,+BACA,SAcA,YAZA,WACA,eACA,gBACA,wCACAC,MAEA,cACA,8BAPA,GAWA,2EACA,kBAEAC,SACA,wCAEA,uBACA,IACA,mDAEA,+BACA,yDACA,gDAEA,kCAEA,wLACA,+BACA,oDACA,iBAEA,SACA,aACA,iBAGA,uBACA,IACA,yFACA,wBACA,2BACA,mCACA,oCAGA,mCAGA,SACA,aACA,iBAGA,uBACA,IACA,qFACA,0CACA,+CAEA,SACA,aACA,iBAGA,sCACA,IACA,+DACA,0CACA,qCACA,oGACA,mBACA,+EACA,sEACA,SACA,eAGA,oBACA,IACA,WACA,iCACA,sBACAC,oBACA,MACA,wBACAA,oBACA,MACA,sBACAA,kBACA,MACA,QACA,MAGA,wDACA,sBACA,gEACA,qBACA,wBAEA,oDACA,qBACA,4BAEA,QAEA,6BAEA,wDAGAC,IACAlgB,qBAKA,GAJA,gCACA,gCAAAkgB,MAGA,gBAKA,OAAA/J,YAAAE,kBACA,2CACA,iBACA8J,mDAEA,gCAIA,KACA,6BAIA,SACA,aACA,iBAGAC,4BACA,gDACA,cACAC,aAEA,UAEAC,cACA,sBACAjjB,uBACAkjB,QAAAhY,uBAGAiY,SACA,sBACAnjB,uBAGA6a,iBACA,oBACA,WAGAC,qBACA,sBACA,gBAKAsI,wBACA,0BACA,6BACA,0CAEA,gBACA,uBAIA,OADA,mEACA,MAIA,+BACA,IACA,oCACA,6CACA,+BACA,oDACA,SACA,eAIA,+BACA,IACA,4CACA,6CACA,+BACA,4DACA,SACA,eAGA,2BACA,IACA,0DACA,kCACA,SACA,eAKAC,4BACA,gEACA,wCACA,wCACA,mBAEAC,2BACA,8GAGA,oCACA,uEAEA,mCACA,sEAEA,mCACA,8EAEA,kCACA,6EAEA,qCACA,gFAGArK,0BACA,qBACA,sBAEAC,wBACA,qBACA,oBAEAqK,gCACA,+CAGAC,iCACA,gDAGAC,mCACA,8BACA,MACA,iBACA,mBACA,eACA,gBAEA,gCAEA,+BADA,MACA,KAGA,OAIA,mCAGA,iBACA,qBAEA,0BADA,OACA,EAEA,OACA,EAGA,UAIA,iCAGAC,sCACA,wCACAC,sBACAC,yCACAC,yCACAC,0DAIAC,+CACA,wCACAJ,8BACAC,kDACAC,kDACAC,mEAGA,uCAIA,OAHA,0EACA,0EAEA,0BAEA,6CACA,6BACA,sEAIA,4BAEA,UACA,yEACA,qBACA,mBACA,wBAEA,gMACA,kBACA,SACA,eAIAE,iBACA,yBACA,kBACA,uBACA,qBACAxC,mBAEA,MAGA,2BAEA,IACA,sGACA,SACAvU,6BACAsO,oDACA0I,4BAEA,+DAEA,aAMA,qBACA,yBAPA,CACA,qBACA,mBACA,gCACA,sBAKA,SACA,qBACA,8BAGA,yBACA,sCACA,oCACA,KAGA,CAEA,IAEA,gCAEA,uBACA,0CACA,kOACA,KAGA,UAEA,2EACA,wBACAlC,MACA,qBACA,0CACA,kOACA,KACA,uCAEA,SACA,qBACA9Y,eACA,qCAGA,qBA/BA,0BACA+Y,SAkCA,qCACA,UAsBAkC,qCACA,uCACA,uJACA,4BACA,aAEA,cACAC,qIAGA,qCACAA,yHAIA,UAEAC,6BACA,iBACA1f,gBACAtE,eACA6D,0BACA2S,mVAEA8K,uDACAC,iCACAC,kDAGAyC,qCACA,kCAEA1I,kBACA,yBAgBA,GACA2I,kBACAA,aACAA,4BACAA,aACAA,kBACAA,mBACAA,mBACAA,kBAEA,cAzBA,GACAA,kBACAA,aACAA,4BACAA,aACAA,kBACAA,mBACAA,mBACAA,mBACAA,YACAA,UAEA,SAgBA,YCzzDkX,I,wBCQ9WnjB,EAAY,eACd,EACA,EACA,G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C,yBAEAzkB,aACA,gCACA8P,kBACA,6CAEA4U,0BACA,uDC/BsX,ICOlX,EAAY,eACd,EACAxnB,EACAiC,GACA,EACA,KACA,KACA,MAIa,e,4EClBfqB,EAAOC,QAAU,IAA0B,uC,kCCA3C,W,qBCAAD,EAAOC,QAAU,IAA0B","file":"js/chunk-640a1f9e.866d00db.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.isMounted && _vm.complianceRequirements.length > 0 && _vm.showBanner)?_c('vx-card',{attrs:{\"card-background\":\"#3b3a3d\",\"title\":\"Algunas funciones están deshabilitadas\",\"title-color\":\"white\"}},[(_vm.focusRequirement.panel_text)?_c('p',{staticClass:\"text-md\",staticStyle:{\"color\":\"white\",\"opacity\":\"0.75\",\"line-height\":\"1.5rem\"}},[_vm._v(\" \"+_vm._s(_vm.focusRequirement.panel_text)+\" \")]):_c('p',{staticClass:\"text-md\",staticStyle:{\"color\":\"white\",\"opacity\":\"0.75\",\"line-height\":\"1.5rem\"}},[_vm._v(\" Permite el acceso a tu ubicación mientras usas la plataforma para poder disfrutar de todas sus funciones. \")]),_c('div',{staticClass:\"vx-row mt-2\"},_vm._l((_vm.orderedRequirements),function(requirement,index){return _c('div',{key:index,class:_vm.colClass},[_c('vs-button',{staticClass:\"w-full border-2\",attrs:{\"type\":\"border\",\"color\":index !== 0 ? 'gray':'primary',\"disabled\":index !== 0},on:{\"click\":function($event){$event.stopPropagation();return _vm.onRequirementClick(requirement)}}},[_vm._v(_vm._s(requirement.button_text)+\" \")])],1)}),0)]):_vm._e(),_c('vs-popup',{staticClass:\"header-primary\",attrs:{\"active\":_vm.geolocationPopUpActive,\"title\":\"Atención.\"},on:{\"update:active\":function($event){_vm.geolocationPopUpActive=$event}}},[_c('div',{staticClass:\"pt-1 p-4\"},[(!_vm.isLocationDenied)?_c('div',[_c('p',[_c('strong',[_vm._v(\"Queremos que tu experiencia en RedGirasol sea más segura.\")]),_c('br'),_c('br'),_vm._v(\" Debido a esto, pedimos a todos nuestros integrantes que nos indiquen en dónde se encuentra el dispositivo con el que operarán su cuenta. Al momento en que des clic en “Estoy de acuerdo†aparecerá una ventana en la cual deberás dar clic en permitir o “allow†como se indica a continuación, de lo contrario no podrás gozar de los beneficios de la energÃa limpia. \")]),_c('img',{staticStyle:{\"width\":\"75%\"},attrs:{\"src\":_vm.geolocationImg,\"alt\":\"\",\"aria-hidden\":\"true\",\"data-toggle\":\"tooltip\",\"data-placement\":\"top\",\"title\":\"Ubicación\"}}),_c('vs-button',{staticClass:\"mt-5\",on:{\"click\":function($event){return _vm.askForLocation()}}},[_vm._v(\"Estoy de acuerdo\")])],1):_c('div',[_c('p',[_c('strong',[_vm._v(\"Has bloqueado el permiso a la ubicación.\")]),_c('br'),_c('br'),_vm._v(\" Para continuar, deberás acceder a la configuración del navegador y habilitar este permiso. Si deseas saber cómo realizar esta configuración da clic \"),_c('a',{staticClass:\"underline bold\",attrs:{\"href\":\"https://soporte.redgirasol.com/support/solutions/articles/48001250279--c%C3%B3mo-permitir-que-mi-dispositivo-comparta-mi-ubicaci%C3%B3n-\",\"target\":\"blank\"}},[_vm._v(\"aquÃ\")]),_vm._v(\". Una vez que realices este proceso deberás recargar la página para aplicar los cambios y poder continuar. \")])])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <vx-card v-if=\"isMounted && complianceRequirements.length > 0 && showBanner\" card-background=\"#3b3a3d\" title=\"Algunas funciones están deshabilitadas\" title-color=\"white\" >\n <p v-if=\"focusRequirement.panel_text\" style=\"color: white; opacity: 0.75;line-height: 1.5rem\" class=\"text-md\">\n {{focusRequirement.panel_text}}\n </p>\n <p v-else style=\"color: white; opacity: 0.75;line-height: 1.5rem\" class=\"text-md\">\n Permite el acceso a tu ubicación mientras usas la plataforma para poder disfrutar de todas sus funciones.\n <!-- RedGirasol opera como una Institución de Financiamiento Colectivo y conforme a lo que nos indica la ley, \n deberás cumplir con una serie de requerimientos para utilizar la plataforma. Por el momento, lo único que \n necesitamos de tu parte son los puntos que se presentan a continuación. Si quieres saber más sobre el porqué \n te pedimos esta información, consulta este artÃculo de nuestro blog dando clic <a href=\"https://blog.redgirasol.com/que-requerimientos-tengo-que-cumplir-para-participar-en-la-red/\" class=\"underline bold white\" target=\"blank\">aquÃ.</a> -->\n </p>\n <div class=\"vx-row mt-2\">\n <div :class=\"colClass\" v-for=\"(requirement, index) in orderedRequirements\" :key=\"index\">\n <vs-button\n type=\"border\"\n class=\"w-full border-2\"\n :color=\"index !== 0 ? 'gray':'primary'\"\n :disabled=\"index !== 0\"\n @click.stop=\"onRequirementClick(requirement)\"\n >{{requirement.button_text}}\n </vs-button>\n </div>\n </div>\n </vx-card>\n\n <!-- popup activar geolocalizacion -->\n <vs-popup\n :active.sync=\"geolocationPopUpActive\"\n title=\"Atención.\"\n class=\"header-primary\"\n >\n <div class=\"pt-1 p-4\">\n <div v-if=\"!isLocationDenied\">\n <p>\n <strong>Queremos que tu experiencia en RedGirasol sea más segura.</strong><br><br>\n Debido a esto, pedimos a todos nuestros integrantes que nos indiquen en dónde se encuentra el dispositivo con el que operarán su cuenta.\n Al momento en que des clic en “Estoy de acuerdo†aparecerá una ventana en la cual deberás dar clic en permitir o “allow†como se indica a continuación, \n de lo contrario no podrás gozar de los beneficios de la energÃa limpia.\n </p>\n <img :src=\"geolocationImg\" style=\"width:75%\" alt=\"\" aria-hidden=\"true\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Ubicación\">\n <vs-button class=\"mt-5\" @click=\"askForLocation()\">Estoy de acuerdo</vs-button>\n </div>\n <div v-else>\n <p>\n <strong>Has bloqueado el permiso a la ubicación.</strong><br><br>\n Para continuar, deberás acceder a la configuración del navegador y habilitar este permiso. \n Si deseas saber cómo realizar esta configuración da clic <a href=\"https://soporte.redgirasol.com/support/solutions/articles/48001250279--c%C3%B3mo-permitir-que-mi-dispositivo-comparta-mi-ubicaci%C3%B3n-\" class=\"underline bold\" target=\"blank\">aquÃ</a>. \n Una vez que realices este proceso deberás recargar la página para aplicar los cambios y poder continuar. \n </p>\n </div>\n </div>\n </vs-popup>\n </div>\n</template>\n\n<script>\nimport userComplianceHelper from \"@/helpers/userComplianceHelper\";\nimport { mapMutations } from 'vuex'\nexport default {\n name: \"ComplianceBanner\",\n props: {\n wFull: {\n default: true,\n type: Boolean\n },\n showBanner: {\n default: true,\n type: Boolean\n }\n },\n mixins: [userComplianceHelper],\n data(){\n return {\n reloadPage:true,\n isMounted:false,\n complianceRequirements: [],\n geolocationPopUpActive:false,\n geolocationImg: require('@assets/images/figs/geolocation.png'),\n isLocationDenied: false,\n locationOptions: {\n enableHighAccuracy: true,\n timeout: Infinity,\n maximumAge: 0\n }\n }\n },\n async beforeMount(){\n this.isMounted = false;\n this.setSessionLocationRegistered(false);\n await this.loadRequirements();\n if('geolocation' in navigator) {\n await this.checkLocation();\n }\n this.$emit('loadedRequirements', this.complianceRequirements.length);\n this.isMounted = true;\n },\n computed: {\n focusRequirement(){\n return this.orderedRequirements[0];\n },\n orderedRequirements(){\n return this.complianceRequirements.sort((a,b) => (a.button_order > b.button_order) ? 1: -1);\n },\n colClass(){\n if(this.wFull === true){\n return 'vx-col h-auto md:w-1/4 sm:w-1/2 w-full mt-4';\n }\n else {\n return 'vx-col h-auto xxl:w-1/3 lg:w-1/2 md:w-1/2 w-full mt-4';\n }\n }\n },\n methods: {\n ...mapMutations('auth', ['setSessionLocationRegistered']),\n onRequirementClick(requirement){\n if (requirement.code === \"geolocation\") {\n this.geolocationPopUpActive = true; \n }else{\n window.location.href = requirement.compliance_link;\n }\n },\n async loadRequirements(){\n this.complianceRequirements = await this.getComplianceRequirements(this.UserTags);\n },\n async checkLocation(){\n // si la ubicacion ya fue registrada en la sesión, no se vuelve a pedir\n if (this.SessionLocationRegistered) {\n return;\n }\n\n const appleExpression = /Apple/i;\n const safariExpression = /Safari/i;\n if(appleExpression.test(navigator.vendor) && safariExpression.test(navigator.userAgent)){\n // Safari bypassing permissions\n if (!this.SessionLocationRegistered) {\n this.reloadPage=false;\n await this.askForLocation();\n }\n } else{\n var locationEnabled = false;\n var locationDenied = false;\n await navigator.permissions.query({name:'geolocation'}).then((result) => {\n if (result.state === 'granted') {\n locationEnabled = true;\n }else{\n if(result.state === 'denied'){\n locationDenied = true;\n }\n }\n });\n if (!locationEnabled) {\n let locationRequirement={};\n locationRequirement.button_order = 3;\n locationRequirement.button_text= \"Ubicación\";\n locationRequirement.code= \"geolocation\";\n locationRequirement.compliance_link= \"/\";\n locationRequirement.panel_text= null;\n this.complianceRequirements.push(locationRequirement);\n }else{\n if (!this.SessionLocationRegistered) {\n this.reloadPage=false;\n await this.askForLocation();\n }\n }\n if(locationDenied){\n this.isLocationDenied = locationDenied;\n }\n }\n },\n async askForLocation(){\n await navigator.geolocation.getCurrentPosition(this.onSuccessLocation, this.onErrorLocation, this.locationOptions);\n },\n onErrorLocation(err){\n const appleExpression = /Apple/i;\n const safariExpression = /Safari/i;\n if(appleExpression.test(navigator.vendor) && safariExpression.test(navigator.userAgent)){\n let locationRequirement={};\n locationRequirement.button_order = 3;\n locationRequirement.button_text= \"Ubicación\";\n locationRequirement.code= \"geolocation\";\n locationRequirement.compliance_link= \"/\";\n locationRequirement.panel_text= null;\n this.complianceRequirements.push(locationRequirement);\n }\n this.isLocationDenied = true;\n this.setSessionLocationRegistered(false);\n },\n async onSuccessLocation(pos){\n this.setSessionLocationRegistered(true);\n this.geolocationPopUpActive = false;\n var crd = pos.coords;\n await this.saveLocationOnUserLogins(crd); \n },\n async saveLocationOnUserLogins(geolocation){\n try {\n await axios.post('/api/setUserDeviceLocation', {\n \"user_id\":this.UserId,\n \"user_role\":this.UserRole,\n \"latitude\":geolocation.latitude,\n \"longitude\":geolocation.longitude,\n \"accuracy\":geolocation.accuracy+\" meters\"\n });\n if(this.reloadPage){\n this.$router.go();\n }\n this.reloadPage=true;\n }\n catch (e) {\n }\n },\n },\n}\n</script>","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!./ComplianceBanner.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!./ComplianceBanner.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ComplianceBanner.vue?vue&type=template&id=5340dbd6&\"\nimport script from \"./ComplianceBanner.vue?vue&type=script&lang=js&\"\nexport * from \"./ComplianceBanner.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","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-09.9aee9faf.jpg\";","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!./PreProjectLandingPage.vue?vue&type=style&index=0&id=8a30a1fe&prod&scoped=true&lang=css&\"","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!./IdentityVerification.vue?vue&type=style&index=0&id=6136205c&prod&scoped=true&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-11.50e485a7.jpg\";","!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.VueFormWizard=e():t.VueFormWizard=e()}(\"undefined\"!=typeof self?self:this,function(){return function(t){function e(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var a={};return e.m=t,e.c=a,e.d=function(t,a,n){e.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,\"a\",a),a},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=\"\",e(e.s=7)}([function(t,e){t.exports=function(t,e,a,n,i,r){var s,o=t=t||{},c=typeof t.default;\"object\"!==c&&\"function\"!==c||(s=t,o=t.default);var u=\"function\"==typeof o?o.options:o;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId=i);var l;if(r?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||\"undefined\"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=l):n&&(l=n),l){var d=u.functional,b=d?u.render:u.beforeCreate;d?(u._injectStyles=l,u.render=function(t,e){return l.call(e),b(t,e)}):u.beforeCreate=b?[].concat(b,l):[l]}return{esModule:s,exports:o,options:u}}},function(t,e,a){\"use strict\";var n=a(2),i=a(4),r=a(14);e.a={name:\"form-wizard\",components:{WizardButton:n.a,WizardStep:i.a},props:{title:{type:String,default:\"Awesome Wizard\"},subtitle:{type:String,default:\"Split a complicated flow in multiple steps\"},nextButtonText:{type:String,default:\"Next\"},backButtonText:{type:String,default:\"Back\"},finishButtonText:{type:String,default:\"Finish\"},hideButtons:{type:Boolean,default:!1},validateOnBack:Boolean,color:{type:String,default:\"#e74c3c\"},errorColor:{type:String,default:\"#8b0000\"},shape:{type:String,default:\"circle\"},layout:{type:String,default:\"horizontal\"},stepsClasses:{type:[String,Array],default:\"\"},stepSize:{type:String,default:\"md\",validator:function(t){return-1!==[\"xs\",\"sm\",\"md\",\"lg\"].indexOf(t)}},transition:{type:String,default:\"\"},startIndex:{type:Number,default:0,validator:function(t){return t>=0}}},provide:function(){return{addTab:this.addTab,removeTab:this.removeTab}},data:function(){return{activeTabIndex:0,currentPercentage:0,maxStep:0,loading:!1,tabs:[]}},computed:{slotProps:function(){return{nextTab:this.nextTab,prevTab:this.prevTab,activeTabIndex:this.activeTabIndex,isLastStep:this.isLastStep,fillButtonStyle:this.fillButtonStyle}},tabCount:function(){return this.tabs.length},isLastStep:function(){return this.activeTabIndex===this.tabCount-1},isVertical:function(){return\"vertical\"===this.layout},displayPrevButton:function(){return 0!==this.activeTabIndex},stepPercentage:function(){return 1/(2*this.tabCount)*100},progressBarStyle:function(){return{backgroundColor:this.color,width:this.progress+\"%\",color:this.color}},fillButtonStyle:function(){return{backgroundColor:this.color,borderColor:this.color,color:\"white\"}},progress:function(){return this.activeTabIndex>0?this.stepPercentage*(2*this.activeTabIndex+1):this.stepPercentage}},methods:{emitTabChange:function(t,e){this.$emit(\"on-change\",t,e),this.$emit(\"update:startIndex\",e)},addTab:function(t){var e=this.$slots.default.indexOf(t.$vnode);t.tabId=\"\"+t.title.replace(/ /g,\"\")+e,this.tabs.splice(e,0,t),e<this.activeTabIndex+1&&(this.maxStep=e,this.changeTab(this.activeTabIndex+1,e))},removeTab:function(t){var e=this.tabs,a=e.indexOf(t);a>-1&&(a===this.activeTabIndex&&(this.maxStep=this.activeTabIndex-1,this.changeTab(this.activeTabIndex,this.activeTabIndex-1)),a<this.activeTabIndex&&(this.maxStep=this.activeTabIndex-1,this.activeTabIndex=this.activeTabIndex-1,this.emitTabChange(this.activeTabIndex+1,this.activeTabIndex)),e.splice(a,1))},reset:function(){this.maxStep=0,this.tabs.forEach(function(t){t.checked=!1}),this.navigateToTab(0)},activateAll:function(){this.maxStep=this.tabs.length-1,this.tabs.forEach(function(t){t.checked=!0})},navigateToTab:function(t){var e=this,a=t>this.activeTabIndex;if(t<=this.maxStep){var n=function n(){a&&t-e.activeTabIndex>1?(e.changeTab(e.activeTabIndex,e.activeTabIndex+1),e.beforeTabChange(e.activeTabIndex,n)):(e.changeTab(e.activeTabIndex,t),e.afterTabChange(e.activeTabIndex))};a?this.beforeTabChange(this.activeTabIndex,n):(this.setValidationError(null),n())}return t<=this.maxStep},nextTab:function(){var t=this,e=function(){t.activeTabIndex<t.tabCount-1?(t.changeTab(t.activeTabIndex,t.activeTabIndex+1),t.afterTabChange(t.activeTabIndex)):t.$emit(\"on-complete\")};this.beforeTabChange(this.activeTabIndex,e)},prevTab:function(){var t=this,e=function(){t.activeTabIndex>0&&(t.setValidationError(null),t.changeTab(t.activeTabIndex,t.activeTabIndex-1))};this.validateOnBack?this.beforeTabChange(this.activeTabIndex,e):e()},focusNextTab:function(){var t=Object(r.b)(this.tabs);if(-1!==t&&t<this.tabs.length-1){var e=this.tabs[t+1];e.checked&&Object(r.a)(e.tabId)}},focusPrevTab:function(){var t=Object(r.b)(this.tabs);if(-1!==t&&t>0){var e=this.tabs[t-1].tabId;Object(r.a)(e)}},setLoading:function(t){this.loading=t,this.$emit(\"on-loading\",t)},setValidationError:function(t){this.tabs[this.activeTabIndex].validationError=t,this.$emit(\"on-error\",t)},validateBeforeChange:function(t,e){var a=this;if(this.setValidationError(null),Object(r.c)(t))this.setLoading(!0),t.then(function(t){a.setLoading(!1);var n=!0===t;a.executeBeforeChange(n,e)}).catch(function(t){a.setLoading(!1),a.setValidationError(t)});else{var n=!0===t;this.executeBeforeChange(n,e)}},executeBeforeChange:function(t,e){this.$emit(\"on-validate\",t,this.activeTabIndex),t?e():this.tabs[this.activeTabIndex].validationError=\"error\"},beforeTabChange:function(t,e){if(!this.loading){var a=this.tabs[t];if(a&&void 0!==a.beforeChange){var n=a.beforeChange();this.validateBeforeChange(n,e)}else e()}},afterTabChange:function(t){if(!this.loading){var e=this.tabs[t];e&&void 0!==e.afterChange&&e.afterChange()}},changeTab:function(t,e){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.tabs[t],i=this.tabs[e];return n&&(n.active=!1),i&&(i.active=!0),a&&this.activeTabIndex!==e&&this.emitTabChange(t,e),this.activeTabIndex=e,this.activateTabAndCheckStep(this.activeTabIndex),!0},tryChangeRoute:function(t){this.$router&&t.route&&this.$router.push(t.route)},checkRouteChange:function(t){var e=-1,a=this.tabs.find(function(a,n){var i=a.route===t;return i&&(e=n),i});if(a&&!a.active){var n=e>this.activeTabIndex;this.navigateToTab(e,n)}},deactivateTabs:function(){this.tabs.forEach(function(t){t.active=!1})},activateTab:function(t){this.deactivateTabs();var e=this.tabs[t];e&&(e.active=!0,e.checked=!0,this.tryChangeRoute(e))},activateTabAndCheckStep:function(t){this.activateTab(t),t>this.maxStep&&(this.maxStep=t),this.activeTabIndex=t},initializeTabs:function(){this.tabs.length>0&&0===this.startIndex&&this.activateTab(this.activeTabIndex),this.startIndex<this.tabs.length?this.activateTabAndCheckStep(this.startIndex):window.console.warn(\"Prop startIndex set to \"+this.startIndex+\" is greater than the number of tabs - \"+this.tabs.length+\". Make sure that the starting index is less than the number of tabs registered\")}},mounted:function(){this.initializeTabs()},watch:{\"$route.path\":function(t){this.checkRouteChange(t)}}}},function(t,e,a){\"use strict\";function n(t){a(10)}var i=a(3),r=a(11),s=a(0),o=n,c=s(i.a,r.a,!1,o,null,null);e.a=c.exports},function(t,e,a){\"use strict\";e.a={}},function(t,e,a){\"use strict\";function n(t){a(12)}var i=a(5),r=a(13),s=a(0),o=n,c=s(i.a,r.a,!1,o,null,null);e.a=c.exports},function(t,e,a){\"use strict\";e.a={name:\"wizard-step\",props:{tab:{type:Object,default:function(){}},transition:{type:String,default:\"\"},index:{type:Number,default:0}},computed:{iconActiveStyle:function(){return{backgroundColor:this.tab.color}},stepCheckedStyle:function(){return{borderColor:this.tab.color}},errorStyle:function(){return{borderColor:this.tab.errorColor,backgroundColor:this.tab.errorColor}},stepTitleStyle:function(){return{color:this.tab.validationError?this.tab.errorColor:this.tab.color}},isStepSquare:function(){return\"square\"===this.tab.shape},isTabShape:function(){return\"tab\"===this.tab.shape}}}},function(t,e,a){\"use strict\";e.a={name:\"tab-content\",props:{title:{type:String,default:\"\"},icon:{type:String,default:\"\"},beforeChange:{type:Function},afterChange:{type:Function},route:{type:[String,Object]},additionalInfo:{type:Object,default:function(){}}},inject:[\"addTab\",\"removeTab\"],data:function(){return{active:!1,validationError:null,checked:!1,tabId:\"\"}},computed:{shape:function(){return this.$parent.shape},color:function(){return this.$parent.color},errorColor:function(){return this.$parent.errorColor}},mounted:function(){this.addTab(this)},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),this.removeTab(this)}}},function(t,e,a){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=a(8),i=a(16),r=a(2),s=a(4);a.d(e,\"FormWizard\",function(){return n.a}),a.d(e,\"TabContent\",function(){return i.a}),a.d(e,\"WizardButton\",function(){return r.a}),a.d(e,\"WizardStep\",function(){return s.a});var o={install:function(t){t.component(\"form-wizard\",n.a),t.component(\"tab-content\",i.a),t.component(\"wizard-button\",r.a),t.component(\"wizard-step\",s.a)}};\"undefined\"!=typeof window&&window.Vue&&window.Vue.use(o),e.default=o},function(t,e,a){\"use strict\";function n(t){a(9)}var i=a(1),r=a(15),s=a(0),o=n,c=s(i.a,r.a,!1,o,null,null);e.a=c.exports},function(t,e){},function(t,e){},function(t,e,a){\"use strict\";var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)(\"button\",{staticClass:\"wizard-btn\",attrs:{tabindex:\"-1\",type:\"button\"}},[t._t(\"default\")],2)},i=[],r={render:n,staticRenderFns:i};e.a=r},function(t,e){},function(t,e,a){\"use strict\";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"li\",{class:{active:t.tab.active}},[a(\"a\",{class:{disabled:!t.tab.checked},attrs:{href:\"javascript:void(0)\"}},[a(\"div\",{staticClass:\"wizard-icon-circle md\",class:{checked:t.tab.checked,square_shape:t.isStepSquare,tab_shape:t.isTabShape},style:[t.tab.checked?t.stepCheckedStyle:{},t.tab.validationError?t.errorStyle:{}],attrs:{role:\"tab\",tabindex:t.tab.checked?0:\"\",id:\"step-\"+t.tab.tabId,\"aria-controls\":t.tab.tabId,\"aria-disabled\":t.tab.active,\"aria-selected\":t.tab.active}},[a(\"transition\",{attrs:{name:t.transition,mode:\"out-in\"}},[t.tab.active?a(\"div\",{staticClass:\"wizard-icon-container\",class:{square_shape:t.isStepSquare,tab_shape:t.isTabShape},style:[t.tab.active?t.iconActiveStyle:{},t.tab.validationError?t.errorStyle:{}]},[t._t(\"active-step\",[t.tab.icon?a(\"i\",{staticClass:\"wizard-icon\",class:t.tab.icon}):a(\"i\",{staticClass:\"wizard-icon\"},[t._v(t._s(t.index+1))])])],2):t._e(),t._v(\" \"),t.tab.active?t._e():t._t(\"default\",[!t.tab.active&&t.tab.icon?a(\"i\",{staticClass:\"wizard-icon\",class:t.tab.icon}):t._e(),t._v(\" \"),t.tab.active||t.tab.icon?t._e():a(\"i\",{staticClass:\"wizard-icon\"},[t._v(t._s(t.index+1))])])],2)],1),t._v(\" \"),t._t(\"title\",[a(\"span\",{staticClass:\"stepTitle\",class:{active:t.tab.active,has_error:t.tab.validationError},style:t.tab.active?t.stepTitleStyle:{}},[t._v(\"\\n \"+t._s(t.tab.title)+\"\\n \")])])],2)])},i=[],r={render:n,staticRenderFns:i};e.a=r},function(t,e,a){\"use strict\";function n(){return document.activeElement.id}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=n();return t.findIndex(function(t){return t.tabId===e})}function r(t){document.getElementById(t).focus()}function s(t){return t.then&&\"function\"==typeof t.then}e.b=i,e.a=r,e.c=s},function(t,e,a){\"use strict\";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"div\",{staticClass:\"vue-form-wizard\",class:[t.stepSize,{vertical:t.isVertical}],on:{keyup:[function(e){return\"button\"in e||!t._k(e.keyCode,\"right\",39,e.key)?\"button\"in e&&2!==e.button?null:void t.focusNextTab(e):null},function(e){return\"button\"in e||!t._k(e.keyCode,\"left\",37,e.key)?\"button\"in e&&0!==e.button?null:void t.focusPrevTab(e):null}]}},[a(\"div\",{staticClass:\"wizard-header\"},[t._t(\"title\",[a(\"h4\",{staticClass:\"wizard-title\"},[t._v(t._s(t.title))]),t._v(\" \"),a(\"p\",{staticClass:\"category\"},[t._v(t._s(t.subtitle))])])],2),t._v(\" \"),a(\"div\",{staticClass:\"wizard-navigation\"},[t.isVertical?t._e():a(\"div\",{staticClass:\"wizard-progress-with-circle\"},[a(\"div\",{staticClass:\"wizard-progress-bar\",style:t.progressBarStyle})]),t._v(\" \"),a(\"ul\",{staticClass:\"wizard-nav wizard-nav-pills\",class:t.stepsClasses,attrs:{role:\"tablist\"}},[t._l(t.tabs,function(e,n){return t._t(\"step\",[a(\"wizard-step\",{attrs:{tab:e,\"step-size\":t.stepSize,transition:t.transition,index:n},nativeOn:{click:function(e){t.navigateToTab(n)},keyup:function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"enter\",13,e.key))return null;t.navigateToTab(n)}}})],{tab:e,index:n,navigateToTab:t.navigateToTab,stepSize:t.stepSize,transition:t.transition})})],2),t._v(\" \"),a(\"div\",{staticClass:\"wizard-tab-content\"},[t._t(\"default\",null,null,t.slotProps)],2)]),t._v(\" \"),t.hideButtons?t._e():a(\"div\",{staticClass:\"wizard-card-footer clearfix\"},[t._t(\"footer\",[a(\"div\",{staticClass:\"wizard-footer-left\"},[t.displayPrevButton?a(\"span\",{attrs:{role:\"button\",tabindex:\"0\"},on:{click:t.prevTab,keyup:function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"enter\",13,e.key))return null;t.prevTab(e)}}},[t._t(\"prev\",[a(\"wizard-button\",{style:t.fillButtonStyle,attrs:{disabled:t.loading}},[t._v(\"\\n \"+t._s(t.backButtonText)+\"\\n \")])],null,t.slotProps)],2):t._e(),t._v(\" \"),t._t(\"custom-buttons-left\",null,null,t.slotProps)],2),t._v(\" \"),a(\"div\",{staticClass:\"wizard-footer-right\"},[t._t(\"custom-buttons-right\",null,null,t.slotProps),t._v(\" \"),t.isLastStep?a(\"span\",{attrs:{role:\"button\",tabindex:\"0\"},on:{click:t.nextTab,keyup:function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"enter\",13,e.key))return null;t.nextTab(e)}}},[t._t(\"finish\",[a(\"wizard-button\",{style:t.fillButtonStyle},[t._v(\"\\n \"+t._s(t.finishButtonText)+\"\\n \")])],null,t.slotProps)],2):a(\"span\",{attrs:{role:\"button\",tabindex:\"0\"},on:{click:t.nextTab,keyup:function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"enter\",13,e.key))return null;t.nextTab(e)}}},[t._t(\"next\",[a(\"wizard-button\",{style:t.fillButtonStyle,attrs:{disabled:t.loading}},[t._v(\"\\n \"+t._s(t.nextButtonText)+\"\\n \")])],null,t.slotProps)],2)],2)],null,t.slotProps)],2)])},i=[],r={render:n,staticRenderFns:i};e.a=r},function(t,e,a){\"use strict\";var n=a(6),i=a(17),r=a(0),s=r(n.a,i.a,!1,null,null,null);e.a=s.exports},function(t,e,a){\"use strict\";var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)(\"div\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.active,expression:\"active\"}],staticClass:\"wizard-tab-container\",attrs:{role:\"tabpanel\",id:t.tabId,\"aria-hidden\":!t.active,\"aria-labelledby\":\"step-\"+t.tabId}},[t._t(\"default\",null,{active:t.active})],2)},i=[],r={render:n,staticRenderFns:i};e.a=r}])});","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"mati-popup\"}},[_c('vs-popup',{staticClass:\"mati-popup\",attrs:{\"title\":\"Verificación de Identidad\",\"active\":_vm.isMatiPopupActive},on:{\"update:active\":function($event){_vm.isMatiPopupActive=$event}}},[_c('div',{staticClass:\"vx-card\",staticStyle:{\"box-shadow\":\"none\"}},[(_vm.isMatiPopupActive)?_c('identity-verification',{staticClass:\"ml-2 mr-1\",attrs:{\"usuario\":_vm.userIdToActivate,\"personal_profile_id\":_vm.personalProfileId,\"citizenship\":_vm.citizenship},on:{\"on-mati-process-started\":_vm.onMatiProcessStarted,\"on-mati-process-finished\":_vm.onMatiProcessFinished}}):_vm._e()],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"identity-verification\"},[(_vm.canDoVerification)?_c('div',[(!_vm.compatible)?_c('div',{staticClass:\"vx-row\"},[_c('vs-alert',{staticClass:\"h-full mb-5\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-alert-triangle\",\"color\":\"danger\"}},[_c('span',{staticClass:\"font-regular\"},[_c('strong',[_vm._v(\"Este navegador no es compatible con el proceso para la verificación de identidad, por favor intenta con otro.\")])])])],1):(!_vm.loading)?_c('div',{staticClass:\"vx-row\"}):_vm._e(),_c('div',{staticClass:\"vx-row\",staticStyle:{\"display\":\"none\"}},[_c('div',{staticClass:\"vx-col w-full\"},[_c('metamap-button',{ref:\"button\",attrs:{\"color\":_vm.matiBtnColor,\"clientid\":_vm.mati_client_id,\"metadata\":JSON.stringify({user_id: _vm.usuario, personal_profile_id: _vm.personal_profile_id }),\"id\":\"matibuttonverification\",\"flowId\":_vm.mati_flow_id},on:{\"mati:userFinishedSdk\":_vm.finished}}),_c('metamap-button',{attrs:{\"color\":_vm.matiBtnColor,\"clientid\":_vm.mati_client_id,\"metadata\":JSON.stringify({user_id: _vm.usuario, personal_profile_id: _vm.personal_profile_id }),\"id\":\"matibuttonverificationforeign\",\"flowId\":_vm.mati_foreign_flow_id},on:{\"mati:userFinishedSdk\":_vm.finished}})],1)])]):_vm._e(),_c('div',{staticClass:\"vx-row\"},[(_vm.error_message)?_c('vs-alert',{staticClass:\"h-full mb-5\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-alert-triangle\",\"color\":\"danger\"}},[_c('span',{staticClass:\"font-regular\"},[_vm._v(_vm._s(_vm.error_message))])]):_vm._e()],1),(_vm.canDoVerification)?_c('div',{attrs:{\"id\":\"matistartverificationtutorial\"}},[_c('div',{staticClass:\"modal-dialog\"},[_c('div',{staticClass:\"modal-content\"},[_c('div',{class:_vm.imagesClass,staticStyle:{\"width\":\"100%\",\"position\":\"relative\"}},[_c('img',{class:_vm.classForImage(1),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img1}}),_c('img',{class:_vm.classForImage(2),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img2}}),(_vm.mexicano)?_c('img',{class:_vm.classForImage(3),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img3a}}):_vm._e(),(!_vm.mexicano)?_c('img',{class:_vm.classForImage(3),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img3b}}):_vm._e(),_c('img',{class:_vm.classForImage(4),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img4}}),_c('img',{class:_vm.classForImage(5),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img5}}),_c('img',{class:_vm.classForImage(6),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img6}}),_c('img',{class:_vm.classForImage(7),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img7}}),_c('img',{class:_vm.classForImage(8),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img8}}),_c('img',{class:_vm.classForImage(9),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img9}}),_c('img',{class:_vm.classForImage(10),staticStyle:{\"width\":\"100%\"},attrs:{\"alt\":\"img\",\"src\":_vm.img10}}),_c('img',{class:_vm.classForImage(11),staticStyle:{\"width\":\"100%\",\"cursor\":\"pointer\"},attrs:{\"alt\":\"img\",\"src\":_vm.img11},on:{\"click\":function($event){return _vm.startVerification()}}}),(!_vm.loading)?_c('div',{staticClass:\"tutorial-controls mb-2\"},[_c('div',{staticClass:\"control\"},[(_vm.step > 1)?_c('vs-button',{attrs:{\"type\":\"border\",\"color\":\"dark\"},on:{\"click\":function($event){_vm.step--}}},[_vm._v(\"Anterior\")]):_vm._e()],1),_c('div',{staticClass:\"control\"},[(_vm.step < 11)?_c('vs-button',{attrs:{\"color\":\"dark\"},on:{\"click\":function($event){_vm.step++}}},[_vm._v(\"Siguiente\")]):_vm._e(),(_vm.step === 11)?_c('vs-button',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.startVerification}},[_vm._v(\"Iniciar proceso\")]):_vm._e()],1)]):_vm._e()])])])]):_vm._e(),(!_vm.canDoVerification && !_vm.loading)?_c('div',{staticClass:\"p-2\"},[_c('h5',{staticClass:\"mb-4\"},[_vm._v(\"No es posible iniciar el proceso de verificación.\")]),_c('p',[_vm._v(\"Hemos detectado que ya has realizado el proceso de verificación anteriormente, por lo que es necesario esperar a que concluya dicho proceso.\")])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n <div class=\"identity-verification\">\n <div v-if=\"canDoVerification\">\n <div class=\"vx-row\" v-if=\"!compatible\">\n <vs-alert icon-pack=\"feather\" icon=\"icon-alert-triangle\" class=\"h-full mb-5\" color=\"danger\">\n <span class=\"font-regular\"><strong>Este navegador no es compatible con el proceso para la verificación de identidad, por favor intenta con otro.</strong></span>\n </vs-alert>\n </div>\n <div class=\"vx-row\" v-else-if=\"!loading\">\n </div>\n <div class=\"vx-row\" style=\"display:none\">\n <div class=\"vx-col w-full\">\n <metamap-button ref=\"button\" :color=\"matiBtnColor\" :clientid=\"mati_client_id\" :metadata=\"JSON.stringify({user_id: usuario, personal_profile_id: personal_profile_id })\" id=\"matibuttonverification\" :flowId=\"mati_flow_id\" @mati:userFinishedSdk=\"finished\"/>\n <metamap-button :color=\"matiBtnColor\" :clientid=\"mati_client_id\" :metadata=\"JSON.stringify({user_id: usuario, personal_profile_id: personal_profile_id })\" id=\"matibuttonverificationforeign\" :flowId=\"mati_foreign_flow_id\" @mati:userFinishedSdk=\"finished\"/>\n </div>\n </div>\n </div>\n <div class=\"vx-row\">\n <vs-alert v-if=\"error_message\" icon-pack=\"feather\" icon=\"icon-alert-triangle\" class=\"h-full mb-5\" color=\"danger\">\n <span class=\"font-regular\">{{error_message}}</span>\n </vs-alert>\n </div>\n <div id=\"matistartverificationtutorial\" v-if=\"canDoVerification\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div style=\"width: 100%; position:relative;\" :class=\"imagesClass\">\n <img alt=\"img\" :src=\"img1\" style=\"width: 100%\" :class=\"classForImage(1)\">\n <img alt=\"img\" :src=\"img2\" style=\"width: 100%\" :class=\"classForImage(2)\">\n <img alt=\"img\" :src=\"img3a\" style=\"width: 100%\" :class=\"classForImage(3)\" v-if=\"mexicano\">\n <img alt=\"img\" :src=\"img3b\" style=\"width: 100%\" :class=\"classForImage(3)\" v-if=\"!mexicano\">\n <img alt=\"img\" :src=\"img4\" style=\"width: 100%\" :class=\"classForImage(4)\">\n <img alt=\"img\" :src=\"img5\" style=\"width: 100%\" :class=\"classForImage(5)\">\n <img alt=\"img\" :src=\"img6\" style=\"width: 100%\" :class=\"classForImage(6)\">\n <img alt=\"img\" :src=\"img7\" style=\"width: 100%\" :class=\"classForImage(7)\">\n <img alt=\"img\" :src=\"img8\" style=\"width: 100%\" :class=\"classForImage(8)\">\n <img alt=\"img\" :src=\"img9\" style=\"width: 100%\" :class=\"classForImage(9)\">\n <img alt=\"img\" :src=\"img10\" style=\"width: 100%\" :class=\"classForImage(10)\">\n <img alt=\"img\" :src=\"img11\" style=\"width: 100%; cursor:pointer;\" :class=\"classForImage(11)\" @click=\"startVerification()\">\n <div class=\"tutorial-controls mb-2\" v-if=\"!loading\">\n <div class=\"control\">\n <vs-button type=\"border\" color=\"dark\" @click=\"step--\" v-if=\"step > 1\">Anterior</vs-button>\n </div>\n <div class=\"control\">\n <vs-button color=\"dark\" @click=\"step++\" v-if=\"step < 11\">Siguiente</vs-button>\n <vs-button color=\"primary\" @click=\"startVerification\" v-if=\"step === 11\">Iniciar proceso</vs-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div v-if=\"!canDoVerification && !loading\" class=\"p-2\">\n <h5 class=\"mb-4\">No es posible iniciar el proceso de verificación.</h5>\n <p>Hemos detectado que ya has realizado el proceso de verificación anteriormente,\n por lo que es necesario esperar a que concluya dicho proceso.</p>\n </div>\n </div>\n\n</template>\n\n<script lang=\"js\">\n\n export default {\n name: 'identity-verification',\n props: ['usuario', 'personal_profile_id',\"citizenship\"],\n async mounted() {\n this.mati_client_id = process.env.VUE_APP_MATI_CLIENT_ID\n this.mati_flow_id = process.env.VUE_APP_MATI_FLOW_ID\n this.mati_foreign_flow_id = process.env.VUE_APP_MATI_FOREIGN_FLOW_ID\n this.loading = true\n this.showLoading(true, \"Recopilando información...\")\n this.verifyCompatibility();\n this.mexicano = (this.UserPersonType === 0 || this.UserPersonType === 1);\n if(this.citizenship != null && this.citizenship == \"700\") {\n this.mexicano = true;\n }\n await this.getIdentityInfo();\n this.loading = false\n this.showLoading(false)\n const button = document.getElementById(\"matibuttonverification\");\n\n button.addEventListener('mati:userFinishedSdk', ({ detail }) => {\n this.finished();\n });\n button.addEventListener('mati:exitedSdk', ({ detail }) => {\n this.exited();\n });\n\n },\n data() {\n return {\n matiBtnColor: '#28de18',\n status: 0,\n loading: false,\n error_message: '',\n step: 1,\n compatible: true,\n mexicano:true,\n citizenship: false,\n mati_client_id: '',\n mati_flow_id: '',\n mati_foreign_flow_id: '',\n\n img1: require('@assets/images/mati/201219_TUTORIAL-01.jpg'),\n img2: require('@assets/images/mati/201219_TUTORIAL-02.jpg'),\n img3a: require('@assets/images/mati/201219_TUTORIAL-04a.jpg'),\n img3b: require('@assets/images/mati/201219_TUTORIAL-04b.jpg'),\n img4: require('@assets/images/mati/201219_TUTORIAL-05.jpg'),\n img5: require('@assets/images/mati/201219_TUTORIAL-06.jpg'),\n img6: require('@assets/images/mati/201219_TUTORIAL-07.jpg'),\n img7: require('@assets/images/mati/201219_TUTORIAL-08.jpg'),\n img8: require('@assets/images/mati/201219_TUTORIAL-09.jpg'),\n img9: require('@assets/images/mati/201219_TUTORIAL-10.jpg'),\n img10: require('@assets/images/mati/201219_TUTORIAL-11.jpg'),\n img11: require('@assets/images/mati/201219_TUTORIAL-12.jpg'),\n\n canDoVerification: false,\n }\n },\n methods: {\n exited() {\n this.$store.commit(\"SET_MATI_PROCESS_IS_FINISHED\", true);\n },\n async getIdentityInfo(){\n this.canDoVerification = true;\n try {\n let response = null\n if(this.personal_profile_id != null) {\n response = await this.publicApiGet('/api/perfil/personal-identity-verification/' + this.personal_profile_id);\n } else {\n response = await axios.get('/api/perfil/identity-verification/' + this.usuario);\n }\n // const response = await this.publicApiGet('/api/perfil/identity-verification/' + this.usuario);\n if(response.data.verification != null && response.data.verification !== ''){\n this.status = response.data.verification.identity_status\n if(this.status == 3 && response.data.verification.identity_id == null) {\n this.canDoVerification = true;\n } else {\n this.canDoVerification = (this.status === 0 || this.status === 4 || this.status === 5);\n }\n }\n else {\n this.canDoVerification = true;\n }\n }\n catch (e) {\n this.canDoVerification = false;\n this.error_message = 'Ocurrió un error al obtener los datos, inténtalo mas tarde.'\n }\n },\n classForImage(step){\n return step === this.step ? \"showing\" : \"not-visible\";\n },\n finished(){\n this.loading = true\n this.publicApiPost('/api/perfil/identity-verification', {\n user_id: this.usuario,\n identity_verifier: 'metamap',\n personal_profile_id: this.personal_profile_id\n }).then(response => {\n this.status = 3;\n this.loading = false;\n this.onMatiProcessFinished();\n }).catch(error =>{\n this.error_message = 'Ocurrió un error al enviar tus datos, inténtalo mas tarde.'\n })\n },\n verifyCompatibility(){\n var isEdge = !isIE && !!window.StyleMedia;\n var isChrome = !!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime);\n var isIE = /*@cc_on!@*/false || !!document.documentMode;\n var isEdgeChromium = isChrome && (navigator.userAgent.indexOf(\"Edg\") != -1);\n\n if(isEdge || isIE || isEdgeChromium){\n this.compatible = false\n }\n },\n startVerification(){\n $(`#matistartverificationtutorial`).modal('hide');\n if(this.mexicano){\n document.getElementById('matibuttonverification').click();\n this.$emit('on-mati-process-started');\n }else{\n document.getElementById('matibuttonverificationforeign').click();\n this.$emit('on-mati-process-started');\n }\n },\n async onMatiProcessFinished() {\n this.$store.commit(\"SET_MATI_PROCESS_IS_FINISHED\", true);\n await this.$emit('on-mati-process-finished');\n },\n },\n computed: {\n imagesClass(){\n return this.loading ? \"semi-trans\" : \"no-trans\"\n }\n }\n}\n</script>\n\n<style scoped lang=\"scss\">\n .tutorial-controls{\n display: table;\n position: absolute;\n bottom: 15px;\n left: 0;\n right: 0;\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n }\n\n .tutorial-controls .control{\n display: table-cell;\n vertical-align: middle;\n }\n\n .tutorial-controls .control .step{\n width: 15px;\n height: 15px;\n border: solid 1px white;\n border-radius: 50%;\n }\n</style>\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!./IdentityVerification.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!./IdentityVerification.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IdentityVerification.vue?vue&type=template&id=6136205c&scoped=true&\"\nimport script from \"./IdentityVerification.vue?vue&type=script&lang=js&\"\nexport * from \"./IdentityVerification.vue?vue&type=script&lang=js&\"\nimport style0 from \"./IdentityVerification.vue?vue&type=style&index=0&id=6136205c&prod&scoped=true&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 \"6136205c\",\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"mati-popup\">\n <vs-popup class=\"mati-popup\" title=\"Verificación de Identidad\" :active.sync=\"isMatiPopupActive\">\n <div class=\"vx-card\" style=\"box-shadow:none\">\n <identity-verification class=\"ml-2 mr-1\" v-if=\"isMatiPopupActive\" \n :usuario=\"userIdToActivate\"\n :personal_profile_id=\"personalProfileId\"\n :citizenship=\"citizenship\"\n @on-mati-process-started=\"onMatiProcessStarted\"\n @on-mati-process-finished=\"onMatiProcessFinished\"\n />\n </div>\n </vs-popup>\n </div>\n</template>\n\n<script>\nimport IdentityVerification from '@components/mati/IdentityVerification.vue'\nimport dateHelper from '@mixins/dateHelper';\n\nexport default {\n name: \"mati-popup\",\n mixins: [dateHelper],\n components: {\n IdentityVerification\n },\n props: {\n userIdToActivate: {\n type: [String,Number],\n required: false,\n },\n personalProfileId: {\n type: [String,Number],\n required: false,\n },\n citizenship: {\n type: [String,Number],\n required: false,\n default: null\n }\n },\n data() {\n return {\n loading: false,\n };\n },\n computed: {\n isMatiPopupActive: {\n get() {\n return this.$store.state.isMatiPopupActive;\n },\n set(val) {\n this.$store.commit(\"TOGGLE_IS_MATI_POPUP_ACTIVE\", val);\n }\n },\n activePromptShowEvent: {\n get(){\n return this.showEvent;\n },\n set(val){\n this.showEvent = val;\n }\n },\n windowWidth () {\n return this.$store.state.windowWidth\n }\n },\n watch: {\n loading : function(newVal, oldVal){\n if(newVal == true){\n this.$vs.loading();\n }\n else {\n this.$vs.loading.close();\n }\n },\n },\n methods: {\n async onMatiProcessStarted(){\n this.$emit('on-mati-process-started');\n },\n async onMatiProcessFinished(){\n await this.$emit('finished');\n }\n },\n};\n</script>","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!./MatiPopup.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!./MatiPopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MatiPopup.vue?vue&type=template&id=ae9a31b6&\"\nimport script from \"./MatiPopup.vue?vue&type=script&lang=js&\"\nexport * from \"./MatiPopup.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","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-10.60ce6224.jpg\";","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-04a.0f0e5ec6.jpg\";","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-07.c8a42cc9.jpg\";","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-01.4af26ba4.jpg\";","export default {\n methods: {\n async getComplianceRequirements(tags){\n try {\n const response = await axios.post( '/api/compliance-panel/requirements', {'tags': tags});\n return response.data;\n }\n catch (e) {\n return null;\n }\n },\n async checkNotCompliedRequirements(role){\n const reqs = await this.getComplianceRequirements(role);\n return reqs.filter(f => (f.is_complied === 0 || f.is_complied === '0'));\n },\n async getSpecificNotCompliedRequirements(role, requirements){\n let notComplied = this.checkNotCompliedRequirements(role);\n return notComplied.filter(f => requirements.includes(f.id));\n },\n async getCurpForUser(uid){\n try {\n const response = await axios.get(`/api/v1/userInfo/${uid}/getCurp`);\n return response.data.curp;\n }\n catch (e) {\n return null;\n }\n },\n }\n}","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-12.30ec2970.jpg\";","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-05.edc5e44d.jpg\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.mainComplianceStatus === 'pending' && _vm.isMounted)?_c('div',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"mb-4\"},[_c('div',{staticClass:\"flex flex-wrap items-center\"},[(_vm.mverficationNoSuccessful && !_vm.processWasStarted)?_c('p',{staticClass:\"card-sub-title mr-5\"},[_vm._v(\" La verificación de identidad no fue exitosa. \")]):_vm._e()])]),(!_vm.processWasStarted)?[(_vm.mProcessIsPending)?_c('p',[_vm._v(\" En la Red, es importante verificar que tus datos concuerden con tu identidad. Es por esto que utilizamos un software de reconocimiento de identidad a traveÌs de un proceso raÌpido y sencillo. Para iniciar con el proceso da clic en “Comenzar†y despueÌs lee con calma las indicaciones que tenemos para ti con el fin de que tu proceso sea exitoso. \")]):_vm._e(),(_vm.mverficationNoSuccessful)?_c('p',[_c('span',{staticClass:\"bold\"},[_vm._v(\"El proceso de verificacioÌn de identidad no fue exitoso.\")]),_vm._v(\" Comienza nuevamente siguiendo las recomendaciones al pie de la letra y asegúrate de concluir el proceso correctamente. Principalmente cuida que tengas buena iluminación al momento de grabar tu rostro o que las fotografÃas de tus documentos sean legibles, es decir, que no se vean borrosas o con reflejos que no nos permitan leer la información claramente. \")]):_vm._e()]:[_c('p',[_vm._v(\" En la Red, es importante verificar que tus datos concuerden con tu identidad. Es por esto que utilizamos un software de reconocimiento de identidad a traveÌs de un proceso raÌpido y sencillo. Para iniciar con el proceso da clic en “Comenzar†y despueÌs lee con calma las indicaciones que tenemos para ti con el fin de que tu proceso sea exitoso. \")])]],2)]),(_vm.isMounted && _vm.processWasStarted)?_c('div',{staticClass:\"vx-row mt-3\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vs-alert',{attrs:{\"color\":\"success\"}},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Estamos procesando tu información. En breve tendrás una respuesta de parte de RedGirasol.\")])])],1)]):_vm._e(),(_vm.isMounted && !_vm.processWasStarted)?_c('div',{staticClass:\"vx-row mt-3\"},[(_vm.mshouldRunMatiProcess)?_c('div',{staticClass:\"vx-col w-full\"},[(_vm.mverficationNoSuccessful)?_c('vs-button',{staticClass:\"ml-auto mt-2\",on:{\"click\":_vm.openMatiPopup}},[_vm._v(\"Comenzar nuevamente\")]):_c('vs-button',{staticClass:\"ml-auto mt-2\",on:{\"click\":_vm.openMatiPopup}},[_vm._v(\"Comenzar\")])],1):_vm._e()]):_vm._e(),_c('mati-popup',{attrs:{\"user-id-to-activate\":_vm.userId},on:{\"on-mati-process-started\":_vm.onMatiProcessStarted}})],1):(_vm.mainComplianceStatus === 'running')?_c('div',[_c('vx-card',{attrs:{\"card-background\":\"#3b3a3d\",\"title\":\"El proceso de verificacion de identidad se encuentra en proceso.\",\"title-color\":\"white\"}},[_c('p',{staticClass:\"text-white\"},[_vm._v(\" El instalador ha iniciado el proceso, y éste se encuentra en proceso de revisión. \")])])],1):(_vm.mainComplianceStatus === 'completed')?_c('div',[_c('vx-card',{attrs:{\"card-background\":\"#3b3a3d\",\"title\":\"El proceso de verificación de identidad ha sido completado.\",\"title-color\":\"white\"}},[_c('p',{staticClass:\"text-white\"},[_vm._v(\" La cuenta del instalador ha sido verificada. \")])])],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div v-if=\"mainComplianceStatus === 'pending' && isMounted\">\n <div class=\"vx-row\">\n <div class=\"vx-col w-full\">\n <div class=\"mb-4\">\n <div class=\"flex flex-wrap items-center\">\n <p\n class=\"card-sub-title mr-5\"\n v-if=\"mverficationNoSuccessful && !processWasStarted\"\n >\n La verificación de identidad no fue exitosa.\n </p>\n </div>\n </div>\n \n <template v-if=\"!processWasStarted\">\n <p v-if=\"mProcessIsPending\">\n En la Red, es importante verificar que tus datos concuerden con tu\n identidad. Es por esto que utilizamos un software de\n reconocimiento de identidad a traveÌs de un proceso raÌpido y\n sencillo. Para iniciar con el proceso da clic en “Comenzar†y\n despueÌs lee con calma las indicaciones que tenemos para ti con el\n fin de que tu proceso sea exitoso.\n </p>\n <p v-if=\"mverficationNoSuccessful\">\n <span class=\"bold\"\n >El proceso de verificacioÌn de identidad no fue\n exitoso.</span\n >\n Comienza nuevamente siguiendo las recomendaciones al pie de la letra\n y asegúrate de concluir el proceso correctamente. Principalmente\n cuida que tengas buena iluminación al momento de grabar tu rostro o\n que las fotografÃas de tus documentos sean legibles, es decir, que\n no se vean borrosas o con reflejos que no nos permitan leer la\n información claramente.\n </p>\n </template>\n <template v-else>\n <p>\n En la Red, es importante verificar que tus datos concuerden con tu\n identidad. Es por esto que utilizamos un software de\n reconocimiento de identidad a traveÌs de un proceso raÌpido y\n sencillo. Para iniciar con el proceso da clic en “Comenzar†y\n despueÌs lee con calma las indicaciones que tenemos para ti con el\n fin de que tu proceso sea exitoso.\n </p>\n </template>\n </div>\n </div>\n \n <div class=\"vx-row mt-3\" v-if=\"isMounted && processWasStarted\">\n <div class=\"vx-col w-full\">\n <vs-alert color=\"success\">\n <span class=\"bold\"\n >Estamos procesando tu información. En breve tendrás una respuesta de parte de RedGirasol.</span\n >\n </vs-alert>\n </div>\n </div>\n \n <div class=\"vx-row mt-3\" v-if=\"isMounted && !processWasStarted\">\n <div class=\"vx-col w-full\" v-if=\"mshouldRunMatiProcess\">\n <vs-button\n class=\"ml-auto mt-2\"\n @click=\"openMatiPopup\"\n v-if=\"mverficationNoSuccessful\"\n >Comenzar nuevamente</vs-button\n >\n <vs-button class=\"ml-auto mt-2\" @click=\"openMatiPopup\" v-else\n >Comenzar</vs-button\n >\n </div>\n </div>\n <mati-popup :user-id-to-activate=\"userId\" \n @on-mati-process-started=\"onMatiProcessStarted\" />\n </div>\n <div v-else-if=\"mainComplianceStatus === 'running'\">\n <vx-card card-background=\"#3b3a3d\" title=\"El proceso de verificacion de identidad se encuentra en proceso.\" title-color=\"white\">\n <p class=\"text-white\">\n El instalador ha iniciado el proceso, y éste se encuentra en proceso de revisión.\n </p>\n </vx-card>\n </div>\n <div v-else-if=\"mainComplianceStatus === 'completed'\">\n <vx-card card-background=\"#3b3a3d\" title=\"El proceso de verificación de identidad ha sido completado.\" title-color=\"white\" >\n <p class=\"text-white\">\n La cuenta del instalador ha sido verificada.\n </p>\n </vx-card>\n </div>\n </div>\n </template>\n \n <script>\n import MatiPopup from \"@components/mati/MatiPopup\";\n import userIdentityHelper from \"@/helpers/userIdentityHelper\";\n \n export default {\n name: \"applicant-identity-verification\",\n props: {\n isMoral: { type: Boolean, required: true },\n userId: { type: [String, Number], required: true },\n personType: { type: [String, Number], required: true },\n isPublic: { type: Boolean, required: false, default: false }\n },\n components: {\n MatiPopup,\n },\n mixins: [userIdentityHelper],\n data() {\n return {\n isMounted: false,\n identity: null,\n status: null,\n processWasStarted: false,\n pfaeTabs: [\"general\"],\n moralTabs: [\"general\", \"contact\"],\n \n identityIsCompleted: false,\n mainComplianceStatus: null,\n };\n },\n async mounted() {\n this.isMounted = false;\n this.showLoading(true);\n if(!this.isPublic) {\n await this.onUserInfoUpdated();\n }\n await this.getIdentityInfo();\n await this.verifyCompliances();\n this.isMounted = true;\n this.showLoading(false);\n },\n computed: {\n mProcessIsPending() {\n return this.matiIsPending(this.status);\n },\n mshouldRunMatiProcess() {\n return this.shouldRunMatiProcess(this.status);\n },\n mverificationIsCompleted() {\n return this.verificationIsCompleted(this.status);\n },\n mverificationIsRejected() {\n return this.verificationIsRejected(this.status);\n },\n mverificationIsInProcess() {\n return this.verificationIsInProcess(this.status);\n },\n mverificationisNewRequired() {\n return this.verificationisNewRequired(this.status);\n },\n mverificationIsReviewNeeded() {\n return this.verificationIsReviewNeeded(this.status);\n },\n mverficationNoSuccessful() {\n return (\n this.mverificationIsRejected ||\n this.mverificationisNewRequired ||\n this.mverificationIsReviewNeeded\n );\n },\n },\n methods: {\n async reloadStatus() {\n this.showLoading(true);\n await this.getIdentityInfo();\n this.processWasStarted = false;\n this.showLoading(false);\n },\n async verifyCompliances() {\n // definir si mati esta pendiente o debe hacerse de nueva cuenta\n const shouldRunMati = this.shouldRunMatiProcess(this.status);\n if (shouldRunMati) {\n this.mainComplianceStatus = \"pending\";\n return;\n }\n \n const matiIsRunning = this.matiIsRunning(this.status);\n if (matiIsRunning) {\n this.mainComplianceStatus = \"running\";\n return;\n }\n \n // definir si esta completado\n const matiCompleted = this.verificationIsCompleted(this.status);\n if (matiCompleted) {\n this.mainComplianceStatus = \"completed\";\n } else {\n this.mainComplianceStatus = \"running\";\n }\n },\n async onMatiProcessStarted() {\n this.$store.commit(\"SET_MATI_PROCESS_IS_RUNNING\", true);\n this.$store.commit(\"TOGGLE_IS_MATI_POPUP_ACTIVE\", false);\n this.processWasStarted = true;\n },\n async openMatiPopup() {\n this.$store.commit(\"SET_MATI_PROCESS_IS_RUNNING\", true);\n this.$store.commit(\"TOGGLE_IS_MATI_POPUP_ACTIVE\", true);\n },\n async getIdentityInfo() {\n this.status = await this.getUserIdentityStatus(this.userId);\n this.identityIsCompleted = this.verificationIsCompleted(this.status);\n },\n },\n };\n </script>\n \n <style>\n </style>","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!./ApplicantIdentityVerification.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!./ApplicantIdentityVerification.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ApplicantIdentityVerification.vue?vue&type=template&id=732caa95&\"\nimport script from \"./ApplicantIdentityVerification.vue?vue&type=script&lang=js&\"\nexport * from \"./ApplicantIdentityVerification.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 async getUserIdentity(uid){\n try {\n const res = await axios.get(`api/v1/userInfo/${uid}/getIdentityInfo`);\n return res.data.identity;\n }\n catch (e) {\n return null;\n }\n },\n async getUserIdentityStatus(uid){\n let identity = await this.getUserIdentity(uid);\n let status = 0;\n if(identity !== null){\n this.status = 0;\n status = identity.identity_status;\n }\n return status;\n }, \n async getPersonalIdentity(ppid){\n try {\n const res = await axios.get(`api/v1/userInfo/${ppid}/personal-identity-verification`);\n return res.data.identity;\n }\n catch (e) {\n return null;\n }\n },\n async getPersonalIdentityStatus(ppid){\n let identity = await this.getPersonalIdentity(ppid);\n let status = 0;\n if(identity !== null){\n this.status = 0;\n status = identity.identity_status;\n }\n return status;\n },\n shouldRunMatiProcess(status){\n return status === 0 || status === 4 || status === 5 || status === null;\n },\n matiIsPending(status){\n return status === 0 || status === null;\n },\n matiIsRunning(status){\n return status === 3 || status === 2;\n },\n verificationIsCompleted(status){\n return status === 1;\n },\n verificationIsRejected(status){\n return status === 4;\n },\n verificationIsInProcess(status){\n return status === 3;\n },\n verificationisNewRequired(status){\n return status === 5;\n },\n verificationIsReviewNeeded(status){\n return status === 2;\n },\n }\n}","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-04b.770ed7c1.jpg\";","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-08.8563094e.jpg\";","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}","module.exports = __webpack_public_path__ + \"img/geolocation.8c4aad2e.png\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"supplier\"}},[_c('PreProjectLandingPage')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('vx-card',{staticClass:\"mb-6\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h1',{staticClass:\"rg-big-title extrabold rg-title\"},[_vm._v(\"Nuevo\"),_c('span',{staticClass:\"orange\"},[_vm._v(\" proyecto\")]),_vm._v(\".\")]),_c('p',{staticClass:\"text-subtitle mt-4\"},[_vm._v(\"En esta sección podrás crear una pre-solicitud de crédito, en tres simples pasos.\")])])])]),(!_vm.failed)?_c('vx-card',{attrs:{\"title\":_vm.title}},[_c('vs-alert',{staticStyle:{\"height\":\"auto\"},attrs:{\"color\":\"dark\",\"active\":\"true\"}},[_vm._v(\" Es importante que brindes información real del cliente, ya que eso facilitará la tarea de validación y \"),_c('strong',[_vm._v(\"tu proyecto podrá llegar más rápido a la fase de fondeo\")]),_vm._v(\". \")]),_c('form-wizard',{ref:\"wizard\",attrs:{\"color\":\"rgba(var(--vs-primary), 1)\",\"errorColor\":\"rgba(var(--vs-danger), 1)\",\"title\":null,\"subtitle\":null,\"backButtonText\":\"Atrás\",\"nextButtonText\":\"Continuar\",\"finishButtonText\":\"Enviar\"},on:{\"on-complete\":_vm.formSubmitted}},[_c('tab-content',{staticClass:\"mb-5\",attrs:{\"title\":\"Solicitante nuevo o existente\",\"icon\":\"feather icon-home\",\"before-change\":_vm.validateSourceType}},[_c('form',{attrs:{\"data-vv-scope\":\"step-0\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mt-5\"},[_c('section',{staticClass:\"mb-4\"},[_c('h6',{staticClass:\"mb-3\"},[_vm._v(\"¿Deseas crear el proyecto para un solicitante nuevo o existente?\")]),_c('div',{staticClass:\"vx-row mb-4\"},[_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"vs-custom w-full select-large\",attrs:{\"name\":\"sourceType\",\"label\":\"text\",\"options\":_vm.collections.sourceTypes,\"reduce\":text => text.type,\"clearable\":false,\"searchable\":false,\"placeholder\":\"Seleccione una opción\",\"disabled\":!_vm.canSelectExistingApplicant},model:{value:(_vm.sourceType),callback:function ($$v) {_vm.sourceType=_vm._n($$v)},expression:\"sourceType\"}}),(_vm.errors.has('step-0.sourceType'))?_c('v-error',{attrs:{\"error\":_vm.errors.first('step-0.sourceType')}}):_vm._e()],1)])])])])]),(_vm.has_pgm_potential_applicants)?_c('div',{staticClass:\"vx-col w-full mt-5\"},[_c('section',{staticClass:\"mb-6\"},[_c('h6',{staticClass:\"mb-1\"},[_vm._v(\"¿La solicitud está relacionada con algún prospecto del programa Coca-Cola FEMSA?\")]),_c('p',{staticClass:\"mb-1\"},[_vm._v(\" Sólo puedes elegir algún prospecto que se encuentran en los estados \"),_c('strong',[_vm._v(\"Interesado en una propuesta\")]),_vm._v(\" y \"),_c('strong',[_vm._v(\"Con propuesta realizada.\")])]),_c('div',{staticClass:\"vx-row mb-4\"},[_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('v-select',{staticClass:\"vs-custom w-full select-large\",attrs:{\"name\":\"pgmPotentialApplicant\",\"label\":\"text\",\"options\":_vm.pgm_potential_applicants_options,\"reduce\":text => text.value,\"clearable\":false,\"searchable\":false,\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.payload.customer_id),callback:function ($$v) {_vm.$set(_vm.payload, \"customer_id\", _vm._n($$v))},expression:\"payload.customer_id\"}}),(_vm.errors.has('step-0.pgmPotentialApplicant'))?_c('v-error',{attrs:{\"error\":_vm.errors.first('step-0.pgmPotentialApplicant')}}):_vm._e()],1)])])]):_vm._e()]),_c('tab-content',{staticClass:\"mb-5\",attrs:{\"title\":_vm.secondTabTitle,\"icon\":\"feather icon-user\",\"before-change\":_vm.validateSelectType}},[_c('form',{attrs:{\"data-vv-scope\":\"step-1\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mt-5\"},[(_vm.sourceType == _vm.sourceTypeNew)?_c('section',{staticClass:\"mb-6\"},[_c('h6',{staticClass:\"mb-3\"},[_vm._v(_vm._s(_vm.selectField.field_name))]),_c('div',{staticClass:\"vx-row mb-4\"},[_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"vs-custom w-full select-large\",attrs:{\"name\":\"person_type\",\"label\":\"text\",\"options\":_vm.collections.personTypes,\"reduce\":text => text.type,\"clearable\":false,\"searchable\":false,\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.payload.person_type),callback:function ($$v) {_vm.$set(_vm.payload, \"person_type\", _vm._n($$v))},expression:\"payload.person_type\"}}),(_vm.errors.has('step-1.person_type'))?_c('v-error',{attrs:{\"error\":_vm.errors.first('step-1.person_type')}}):_vm._e()],1)])]):_vm._e(),(_vm.sourceType == _vm.sourceTypeExisting)?_c('section',{staticClass:\"mb-6\"},[_c('h6',{staticClass:\"mb-3\"},[_vm._v(\"Seleccione al solicitante para el que desea crear el proyecto\")]),_c('div',{staticClass:\"vx-row mb-4\"},[_c('div',{staticClass:\"vx-col md:w-3/4 sm:w-full w-full\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"vs-custom w-full select-large\",attrs:{\"name\":\"existingApplicantId\",\"label\":\"fullname\",\"options\":_vm.clientsList,\"reduce\":fullname => fullname.id,\"clearable\":false,\"searchable\":false,\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.existingApplicantId),callback:function ($$v) {_vm.existingApplicantId=_vm._n($$v)},expression:\"existingApplicantId\"}}),(_vm.errors.has('step-1.existingApplicantId'))?_c('v-error',{attrs:{\"error\":_vm.errors.first('step-1.existingApplicantId')}}):_vm._e()],1)])]):_vm._e()])])]),(_vm.sourceType != _vm.sourceTypeExisting && _vm.payload.person_type == _vm.pfTypeValue && (_vm.SupplierId == 2323))?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col sm:w-full md:w-1/2 lg:w1/2\"},[_c('h6',{staticClass:\"mb-4\"},[_vm._v(\"¿Cómo quieres iniciar tu solicitud?\")]),_c('div',{staticClass:\"vx-col w-full mb-6\"},[_c('ul',{staticClass:\"centerx\"},[_c('li',[_c('vs-radio',{attrs:{\"color\":\"primary\",\"vs-value\":\"1\"},model:{value:(_vm.requestTypeSelected),callback:function ($$v) {_vm.requestTypeSelected=_vm._n($$v)},expression:\"requestTypeSelected\"}},[_vm._v(\"Solicitud Normal\")])],1),_c('li',[_c('vs-radio',{attrs:{\"id\":\"express-option\",\"color\":\"primary\",\"vs-value\":\"0\"},model:{value:(_vm.requestTypeSelected),callback:function ($$v) {_vm.requestTypeSelected=_vm._n($$v)},expression:\"requestTypeSelected\"}},[_vm._v(\"Solicitud Exprés \"),_c('vs-chip',{staticClass:\"ml-2 float-right\",attrs:{\"color\":\"primary\"}},[_vm._v(\"¡Nuevo!\")])],1)],1)])])]),_c('div',{staticClass:\"vx-col sm:w-full md:w-1/2 lg:w1/2\"},[_c('h6',{staticClass:\"mb-4\"},[_vm._v(\"A tomar en cuenta:\")]),_c('ul',{staticClass:\"centerx ul-bullet\"},[(_vm.requestTypeSelected == 0)?[_c('li',[_vm._v(\"Tu Cliente debe estar presente con su credencial de elector y celular.\")]),_c('li',[_vm._v(\"Se realiza la verificación de identidad y consulta de historial crediticio en tiempo real.\")]),_c('li',[_vm._v(\"Tiempo de respuesta de \"),_c('strong',[_vm._v(\"pre-aprobación en minutos\")]),_vm._v(\".\")])]:[_c('li',[_vm._v(\"Llenado de información de manera manual.\")]),_c('li',[_vm._v(\"Tiempo de respuesta de pre-aprobación en 1 a 2 dÃas.\")])]],2)])]):_vm._e()]),(!_vm.isPartialCreation)?_c('tab-content',{staticClass:\"mb-5\",attrs:{\"title\":\"Llenado de pre-solicitud\",\"icon\":\"feather icon-briefcase\",\"before-change\":_vm.savePreproject}},[(!_vm.projectIsCreated)?_c('form',{attrs:{\"data-vv-scope\":\"step-2\"}},_vm._l((_vm.formSections),function(section){return (section.id != 32 && section.id != 16)?_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\"},[(section.id == 47 && _vm.applicant_is_pf)?_c('p',{staticClass:\"vx-col w-full mb-4 ml-6 mr-6\"},[_vm._v(\"Como solicitante tipo \"),_c('strong',[_vm._v(\"\\\"Persona FÃsica\\\"\")]),_vm._v(\" podemos financiar hasta \"),_c('strong',[_vm._v(_vm._s(_vm.mxnFormat(_vm.maxUdisPF)))]),_vm._v(\". En caso de \"),_c('strong',[_vm._v(\"\\\"Actividad Empresarial\\\"\")]),_vm._v(\" puede ser un monto mayor.\")]):_vm._e(),(section.id == 32 || section.id == 16)?_c('vs-alert',{staticClass:\"mb-4 ml-4 mr-6\",attrs:{\"color\":\"primary\"}},[_c('span',{staticClass:\"text-justify\"},[_c('strong',[_vm._v(\"Más adelante te pediremos el predial/escritura de la ubicación del proyecto.\")]),_vm._v(\" en caso de que la ubicación del proyecto sea el domicilio del solicitante, asegúrate que la información que ingrreses a continuación coincida con el documento anteriormente mencionado. De lo contrario, en su momento deberás contactar a tu ejecutivo de cuenta para solicitar un ajuste.\")])]):_vm._e(),_vm._l((section.fields),function(f){return [(_vm.requestTypeSelected == 0)?[(section.id == 47 || section.id == 14)?[(_vm.isAutoFormField(f) && (f.db_field == 'total_cost' || f.db_field == 'phone' || f.db_field == 'country_calling_code' || f.db_field == 'email'))?_c('form-field',{key:f.id,ref:\"step2\",refInFor:true,attrs:{\"f\":f,\"scope\":\"step-2\",\"dataContainer\":_vm.payload,\"collectionsRoot\":_vm.collections,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):_vm._e()]:[(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:\"step2\",refInFor:true,attrs:{\"f\":f,\"scope\":\"step-2\",\"dataContainer\":_vm.payload,\"collectionsRoot\":_vm.collections,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):_vm._e()]]:[(section.id == 47)?[(_vm.isAutoFormField(f) && (f.db_field == 'total_cost'))?_c('form-field',{key:f.id,ref:\"step2\",refInFor:true,attrs:{\"f\":f,\"scope\":\"step-2\",\"dataContainer\":_vm.payload,\"collectionsRoot\":_vm.collections,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):_vm._e()]:[(_vm.isAutoFormField(f) && _vm.showFormFields(f.db_field))?_c('form-field',{key:f.id,ref:\"step2\",refInFor:true,attrs:{\"f\":f,\"scope\":\"step-2\",\"dataContainer\":_vm.payload,\"collectionsRoot\":_vm.collections,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):_vm._e()]]]})],2)]):_vm._e()}),1):(_vm.requestTypeSelected == 0 && (_vm.SupplierId == 2323))?_c('div',[(!_vm.identityVerificationHasExpired && _vm.needIdentityVerification)?_c('vx-card',{staticClass:\"mb-5\"},[_c('h6',{staticClass:\"mb-3\"},[_vm._v(\"Verificación de identidad\")]),_c('div',{staticClass:\"vx-row m-0\"},[_c('applicant-identity-verification',{ref:\"applicant-identity-verification\",attrs:{\"isMoral\":!_vm.applicant_is_pf,\"userId\":_vm.current_user_id,\"person-type\":_vm.payload.person_type}})],1),(_vm.createdClient != null)?_c('div',[_c('vs-divider',{staticClass:\"m-4\"},[_vm._v(\"Información personal\")]),_c('div',{staticClass:\"vx-row p-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"vx-row sm:w-full md:w-1/2\"},[_c('ul',{staticClass:\"list-bold\"},[_c('li',[_vm._v(\" Nombre: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.first_name)+\" \"+_vm._s(_vm.client_personal.second_name))])]),_c('li',[_vm._v(\" Apellido Paterno: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.last_name_1))])]),_c('li',[_vm._v(\" Apellido Materno: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.last_name_2))])]),_c('li',[_vm._v(\" Correo: \"),_c('strong',[_vm._v(_vm._s(_vm.createdClient.user.email))])]),_c('li',[_vm._v(\" Teléfono: \"),_c('strong',[_vm._v(\"(\"+_vm._s(_vm.client_personal.country_calling_code)+\") \"+_vm._s(_vm.client_personal.new_phone))])])])]),_c('div',{staticClass:\"vx-row sm:w-full md:w-1/2\"},[_c('ul',{staticClass:\"list-bold\"},[_c('li',[_vm._v(\" Fecha de nacimiento: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.birth_date))])]),_c('li',[_vm._v(\" Género: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.real_gender))])]),_c('li',[_vm._v(\" CURP: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.curp))])]),_c('li',[_vm._v(\" Nacionalidad: \"),_c('strong',[_vm._v(_vm._s(_vm.client_personal.citizenship_named))])])])])])])],1):_vm._e()]):[_c('vx-card',{staticClass:\"mb-6\"},[_c('form',{attrs:{\"data-vv-scope\":\"step-2\"}},_vm._l((_vm.formSections),function(section){return (section.id == 14)?_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(),(section.id == 14)?_c('vs-alert',{staticClass:\"mb-4 mr-6\",attrs:{\"color\":\"danger\"}},[_c('span',{staticClass:\"text-justify\"},[_c('strong',[_vm._v(\"Parece que nos tomará más tiempo del esperado.\")]),_c('br'),_vm._v(\" Para continuar con el proceso de la solicitud exprés, te pedimos llenes la información personal de tu cliente y le pidas su autorización para que podamos consultar su historial crediticio. ¡Recuerda guardar cambios cuando estés listo! \")])]):_vm._e(),_c('div',{staticClass:\"vx-row\"},[_vm._l((section.fields),function(f){return [(section.id == 14)?[(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:\"step2\",refInFor:true,attrs:{\"f\":f,\"scope\":\"step-2\",\"dataContainer\":_vm.payload,\"collectionsRoot\":_vm.collections,\"onChangeReceptor\":_vm.onFieldChange,\"evaluator\":_vm.evaluateCondition}}):_vm._e()]:_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-3 mt-2\",on:{\"click\":function($event){return _vm.saveGroupChanges()}}},[_vm._v(\"Guardar cambios\")])],1)])])],1):_vm._e()}),1)])],(_vm.identityIsCompleted || _vm.identityVerificationHasExpired || !_vm.needIdentityVerification)?_c('vx-card',{staticClass:\"mb-4\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Verificación de historial crediticio\")]),_c('div',{staticClass:\"w-full mb-4 text-justify flex\"},[_c('vs-checkbox',{attrs:{\"vs-value\":1},model:{value:(_vm.cdcPayload.tyc),callback:function ($$v) {_vm.$set(_vm.cdcPayload, \"tyc\", $$v)},expression:\"cdcPayload.tyc\"}}),_c('span',{staticClass:\"ml-2 mt-1\"},[_vm._v(\"Acepto el \"),_c('a',{attrs:{\"href\":\"https://www.redgirasol.com/aviso-de-privacidad\",\"target\":\"_blank\"}},[_vm._v(\"Aviso de Privacidad\")]),_vm._v(\" y \"),_c('a',{attrs:{\"href\":\"https://www.redgirasol.com/terminos-y-condiciones\",\"target\":\"_blank\"}},[_vm._v(\"Términos y Condiciones\")]),_vm._v(\" y cláusulas de medios electrónicos tales como NIP.\")])],1),_c('div',{staticClass:\"mb-4\"},[_c('h5',[_vm._v(\"Autorización de Consulta.\")]),_c('div',{staticClass:\"w-full\"},[_c('p',{staticClass:\"text-justify\"},[_vm._v(\" Autorizo expresamente a \"),_c('strong',[_vm._v(\"Red Girasol S.A.P.I. de C.V. Institución de Financiamiento Colectivo\")]),_vm._v(\", para llevar a cabo Investigaciones sobre mi comportamiento crediticio en las Sociedades de Información Crediticia (SIC) que estime conveniente. Conozco la naturaleza y alcance de la información que se solicitará, del uso que se le dará y que se podrán realizar consultas periódicas de mi historial crediticio. Consiento que esta autorización tenga una vigencia de 3 años contados a partir de hoy, y en su caso mientras mantengamos relación jurÃdica. Acepto que este documento quede bajo propiedad de \"),_c('strong',[_vm._v(\"Red Girasol S.A.P.I. de C.V. Institución de Financiamiento Colectivo y/o SIC Consultada\")]),_vm._v(\" para efectos de control y cumplimiento del artÃculo 28 de la LRSIC. \")]),_c('br'),_c('div',{staticClass:\"mb-base\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mb-3\"},[_c('p',[_vm._v(\" Al solicitar el \"),_c('strong',[_vm._v(\"NIP\")]),_vm._v(\" recibirás un mensaje de texto (sms) al teléfono celular proporcionado anteriormente; puede tardar hasta 1 minuto en llegar. \")]),(_vm.showWhatsapp)?_c('div',{staticClass:\"mb-2 mt-2\"},[_c('p',{staticClass:\"bold mb-1\"},[_vm._v(\" ¿No lo recibiste? Puedes intentarlo de nuevo cuando el código expire. \")]),_c('div',{staticClass:\"clickable-img\",on:{\"click\":function($event){$event.stopPropagation();return _vm.doRequestCDCNip(true)}}},[_c('vs-chip',{staticClass:\"mr-2 bold\"},[_vm._v(\"Enviar Whatsapp a \"+_vm._s(this.payload.country_calling_code)+_vm._s(_vm.anonymousFormatPhone(this.payload.client$phone)))])],1),_c('div',{staticClass:\"clickable-img\",on:{\"click\":function($event){$event.stopPropagation();return _vm.doRequestCDCNip()}}},[_c('vs-chip',{staticClass:\"mr-2 bold\"},[_vm._v(\"Enviar SMS a \"+_vm._s(this.payload.country_calling_code)+_vm._s(_vm.anonymousFormatPhone(this.payload.client$phone)))])],1)]):_vm._e()]),_c('div',{staticClass:\"vx-col sm:w-full mb-2\"},[(!_vm.nipIsCreated)?_c('vs-button',{staticClass:\"bold-btn mb-2\",attrs:{\"color\":\"primary\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.doRequestCDCNip()}}},[_vm._v(\"Recibir NIP\")]):_vm._e()],1),_c('div',{staticClass:\"vx-col sm:w-full mt-2 mb-3\"},[_c('label',{attrs:{\"for\":\"code\"}},[_vm._v(\"Ingresa NIP\")]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric'),expression:\"'required|numeric'\"}],attrs:{\"type\":\"text\",\"name\":\"code\",\"maxlength\":\"6\",\"autocomplete\":\"off\",\"placeholder\":\"Ingresa NIP\",\"disabled\":!_vm.nipIsCreated},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.doAuthorizationCDC()}},model:{value:(_vm.cdcPayload.verification_code),callback:function ($$v) {_vm.$set(_vm.cdcPayload, \"verification_code\", $$v)},expression:\"cdcPayload.verification_code\"}})],1),_c('div',{staticClass:\"vx-col sm:w-full mb-2\"},[(_vm.nipIsCreated)?_c('vs-button',{staticClass:\"bold-btn mb-2\",attrs:{\"disabled\":_vm.cdcPayload.verification_code == null || _vm.cdcPayload.tyc == null || _vm.cdcPayload.tyc == false || !_vm.personalUpdated,\"color\":\"primary\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.doAuthorizationCDC()}}},[_vm._v(\"Autorizo\")]):_vm._e()],1)])])])])]):_vm._e()],2):_vm._e()]):(_vm.isPartialCreation)?_c('tab-content',{staticClass:\"mb-5\",attrs:{\"title\":\"LLenado de pre-solicitud\",\"icon\":\"feather icon-briefcase\",\"before-change\":_vm.savePartialPreproject}},[(_vm.formatDocField)?_c('form',{attrs:{\"data-vv-scope\":\"step-2\"}},[_c('vx-card',{staticClass:\"mb-5\",attrs:{\"title\":\"Pre-solicitud para solicitante existente\"}},[_c('p',{staticClass:\"mb-3\"},[_vm._v(\"Solicitante seleccionado: \"),_c('strong',[_vm._v(_vm._s(this.partialCreationClientName))]),_vm._v(\".\")]),_c('p',{staticClass:\"mb-4\"},[_vm._v(\"Se creará una nueva pre-solicitud a partir de los datos ya existentes del solicitante. Sin embargo, es necesario que \"),_c('strong',[_vm._v(\"se llene de nueva cuenta el formato de revisión crediticia y lo agregues firmado y escaneado. Puedes descargar el formato aquÃ:\")])]),(_vm.payload.person_type != _vm.pmTypeValue)?_c('download-button',{attrs:{\"title\":\"CÃrculo de Crédito Persona FÃsica o PFAE\",\"actionLink\":\"/formatos/Formato-Consulta-Informacion-Crediticia-CC-Persona-Fisica-o-PFAE.pdf\",\"fileName\":\"Formato-Consulta-Informacion-Crediticia-CC-Persona-Fisica-o-PFAE.pdf\",\"remoteFile\":true}}):_vm._e(),(_vm.payload.person_type == _vm.pmTypeValue)?_c('download-button',{attrs:{\"title\":\"CÃrculo de Crédito Persona Moral\",\"actionLink\":\"/formatos/Formato-Consulta-Informacion-Crediticia-CC-Persona-Moral.pdf\",\"fileName\":\"Formato-Consulta-Informacion-Crediticia-CC-Persona-Moral.pdf\",\"remoteFile\":true}}):_vm._e(),_c('div',{staticClass:\"vx-row mt-4\"},[_c('document-upload',{ref:\"formato\",attrs:{\"f\":_vm.formatDocField.formField,\"automatic\":true,\"target_id\":_vm.partialCreationUserId,\"doc\":_vm.formatDocField.documentSet,\"skipLoadedActions\":true,\"initAsEmpty\":true},on:{\"on-success\":_vm.onDocumentUploadSuccess,\"on-error\":_vm.onDocumentUploadError}})],1)],1)],1):_vm._e()]):_vm._e()],1)],1):_vm._e(),(_vm.failed)?_c('load-error'):_vm._e(),_c('vs-popup',{attrs:{\"id\":\"prerequest-notification\",\"title\":\"Aviso importante.\",\"active\":_vm.popupActive,\"color\":\"#fff\"},on:{\"update:active\":function($event){_vm.popupActive=$event}}},[_c('h2',[_vm._v(\"Sobre tus pagos y avance del proyecto.\")]),_c('div',[(_vm.SupplierStatus === 3)?_c('vs-alert',{staticStyle:{\"height\":\"auto\"},attrs:{\"color\":\"warning\",\"active\":\"true\"}},[_vm._v(\" Tu perfil esta en \"),_c('strong',[_vm._v(\"proceso de verificación\")]),_vm._v(\". Puedes crear una Pre-Solicitud para que RedGirasol evalúe su viabilidad crediticia. Solo considera que para concluir el proceso de evaluación de la Solicitud deberás tener tu perfil como Proveedor ya verificado por parte de RedGirasol. \")]):_vm._e(),_c('br'),_c('p',[_vm._v(\" Antes de completar el envÃo de la solicitud, es importante que consideres algunos puntos relevantes: \")]),_c('br'),_c('ol',{staticClass:\"ml-8 mr-8\",staticStyle:{\"list-style-type\":\"decimal !important\"}},[_c('li',[_vm._v(\" Recibirás el 70% del anticipo una vez que el proyecto haya concluido el fondeo y cuando los contratos correspondientes al \"),_c('strong',[_vm._v(\"1. Crédito (Anticipo)\")]),_vm._v(\" y \"),_c('strong',[_vm._v(\"2. Compraventa (Anticipo)\")]),_vm._v(\" hayan sido firmados. \")]),_c('li',[_vm._v(\" El monto restante será cubierto al finalizar la instalación, una vez que se hayan comprobado las evidencias y después de que hayan sido firmados los contratos correspondientes al \"),_c('strong',[_vm._v(\"3. Crédito (Finiquito)\")]),_vm._v(\" y \"),_c('strong',[_vm._v(\"4. Compraventa (Finiquito)\")]),_vm._v(\". \")])]),_c('br'),_c('p',[_vm._v(\" Para mayor información estaremos para apoyarte a través del chat de la plataforma o en cualquiera de nuestras redes sociales. ¡Sigamos iluminando al paÃs! \")]),_c('br'),_c('vs-button',{staticClass:\"mt-2\",attrs:{\"color\":\"primary\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.doSaveProject()}}},[_vm._v(\"Enterad@\")])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <vx-card class=\"mb-6\" >\n <div class=\"vx-row\">\n <div class=\"vx-col w-full\">\n <h1 class=\"rg-big-title extrabold rg-title\">Nuevo<span class=\"orange\"> proyecto</span>.</h1>\n <p class=\"text-subtitle mt-4\">En esta sección podrás crear una pre-solicitud de crédito, en tres simples pasos.</p>\n </div>\n </div>\n <!-- <vs-button class=\"mr-4\" @click=\"initIdentityVerificationTimer()\">Terminó con éxito mati</vs-button>\n <vs-button class=\"mr-4\" @click=\"identityVerificationHasExpired = true\">Expiró la verificación</vs-button>\n <vs-button @click=\"checkFormFieldsSpecialValidations('step2')\">Correr validaciones</vs-button> -->\n </vx-card>\n\n <vx-card v-if=\"!failed\" :title=\"title\">\n <vs-alert color=\"dark\" active=\"true\" style=\"height:auto\">\n Es importante que brindes información real del cliente, ya que eso facilitará la tarea de validación y <strong>tu proyecto podrá llegar más rápido a la fase de fondeo</strong>.\n </vs-alert>\n \n <form-wizard\n ref=\"wizard\"\n color=\"rgba(var(--vs-primary), 1)\"\n errorColor=\"rgba(var(--vs-danger), 1)\"\n :title=\"null\"\n :subtitle=\"null\"\n backButtonText=\"Atrás\"\n nextButtonText=\"Continuar\"\n finishButtonText=\"Enviar\"\n @on-complete=\"formSubmitted\" >\n\n <tab-content\n title=\"Solicitante nuevo o existente\"\n class=\"mb-5\"\n icon=\"feather icon-home\"\n :before-change=\"validateSourceType\"\n >\n <!-- tab 1 content -->\n <form data-vv-scope=\"step-0\">\n <div class=\"vx-row\">\n <div class=\"vx-col w-full mt-5\">\n <section class=\"mb-4\">\n <h6 class=\"mb-3\">¿Deseas crear el proyecto para un solicitante nuevo o existente?</h6>\n <div class=\"vx-row mb-4\">\n <div class=\"vx-col md:w-1/2 w-full\">\n\n <v-select\n name=\"sourceType\"\n label=\"text\"\n class=\"vs-custom w-full select-large\"\n v-model.number=\"sourceType\"\n v-validate=\"'required'\"\n :options=\"collections.sourceTypes\"\n :reduce=\"text => text.type \"\n :clearable=\"false\"\n :searchable=\"false\"\n placeholder=\"Seleccione una opción\"\n :disabled=\"!canSelectExistingApplicant\" \n >\n </v-select>\n <v-error v-if=\"errors.has('step-0.sourceType')\" :error=\"errors.first('step-0.sourceType')\" />\n\n </div>\n </div>\n </section>\n </div>\n </div>\n </form>\n <div v-if=\"has_pgm_potential_applicants\" class=\"vx-col w-full mt-5\">\n <section class=\"mb-6\">\n <h6 class=\"mb-1\">¿La solicitud está relacionada con algún prospecto del programa Coca-Cola FEMSA?</h6>\n <p class=\"mb-1\">\n Sólo puedes elegir algún prospecto que se encuentran en los estados <strong>Interesado en una propuesta</strong> y <strong>Con propuesta realizada.</strong>\n </p>\n <div class=\"vx-row mb-4\">\n <div class=\"vx-col md:w-1/2 w-full\">\n\n <v-select\n name=\"pgmPotentialApplicant\"\n label=\"text\"\n class=\"vs-custom w-full select-large\"\n v-model.number=\"payload.customer_id\"\n :options=\"pgm_potential_applicants_options\"\n :reduce=\"text => text.value \"\n :clearable=\"false\"\n :searchable=\"false\"\n placeholder=\"Seleccione una opción\" \n >\n </v-select>\n <v-error v-if=\"errors.has('step-0.pgmPotentialApplicant')\" :error=\"errors.first('step-0.pgmPotentialApplicant')\" />\n\n </div>\n </div>\n </section>\n </div>\n </tab-content>\n\n <tab-content\n :title=\"secondTabTitle\"\n class=\"mb-5\"\n icon=\"feather icon-user\"\n :before-change=\"validateSelectType\"\n >\n <!-- tab 1 content -->\n <form data-vv-scope=\"step-1\">\n <div class=\"vx-row\">\n <div class=\"vx-col w-full mt-5\">\n <section class=\"mb-6\" v-if=\"sourceType == sourceTypeNew\">\n <h6 class=\"mb-3\">{{selectField.field_name}}</h6>\n <div class=\"vx-row mb-4\">\n <div class=\"vx-col md:w-1/2 w-full\">\n <v-select\n name=\"person_type\"\n label=\"text\"\n class=\"vs-custom w-full select-large\"\n v-model.number=\"payload.person_type\"\n v-validate=\"'required'\"\n :options=\"collections.personTypes\"\n :reduce=\"text => text.type \"\n :clearable=\"false\"\n :searchable=\"false\"\n placeholder=\"Seleccione una opción\" \n >\n </v-select>\n <v-error v-if=\"errors.has('step-1.person_type')\" :error=\"errors.first('step-1.person_type')\" />\n </div>\n </div>\n </section>\n\n <section class=\"mb-6\" v-if=\"sourceType == sourceTypeExisting\">\n <h6 class=\"mb-3\">Seleccione al solicitante para el que desea crear el proyecto</h6>\n <div class=\"vx-row mb-4\">\n <div class=\"vx-col md:w-3/4 sm:w-full w-full\">\n\n <v-select\n name=\"existingApplicantId\"\n label=\"fullname\"\n class=\"vs-custom w-full select-large\"\n v-model.number=\"existingApplicantId\"\n v-validate=\"'required'\"\n :options=\"clientsList\"\n :reduce=\"fullname => fullname.id \"\n :clearable=\"false\"\n :searchable=\"false\"\n placeholder=\"Seleccione una opción\" \n >\n </v-select>\n <v-error v-if=\"errors.has('step-1.existingApplicantId')\" :error=\"errors.first('step-1.existingApplicantId')\" />\n </div>\n </div>\n </section>\n\n </div>\n </div>\n </form>\n<!-- ddimas -->\n <div class=\"vx-row\" v-if=\"sourceType != sourceTypeExisting && payload.person_type == pfTypeValue && (SupplierId == 2323)\">\n <div class=\"vx-col sm:w-full md:w-1/2 lg:w1/2\">\n <h6 class=\"mb-4\">¿Cómo quieres iniciar tu solicitud?</h6>\n <div class=\"vx-col w-full mb-6\">\n <ul class=\"centerx\">\n <li>\n <vs-radio color=\"primary\" v-model.number=\"requestTypeSelected\" vs-value=\"1\">Solicitud Normal</vs-radio>\n </li>\n <li>\n <vs-radio id=\"express-option\" color=\"primary\" v-model.number=\"requestTypeSelected\" vs-value=\"0\">Solicitud Exprés <vs-chip color=\"primary\" class=\"ml-2 float-right\">¡Nuevo!</vs-chip></vs-radio>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"vx-col sm:w-full md:w-1/2 lg:w1/2\">\n <h6 class=\"mb-4\">A tomar en cuenta:</h6>\n <ul class=\"centerx ul-bullet\">\n <template v-if=\"requestTypeSelected == 0\">\n <li>Tu Cliente debe estar presente con su credencial de elector y celular.</li>\n <li>Se realiza la verificación de identidad y consulta de historial crediticio en tiempo real.</li>\n <li>Tiempo de respuesta de <strong>pre-aprobación en minutos</strong>.</li>\n </template>\n <template v-else>\n <li>Llenado de información de manera manual.</li>\n <li>Tiempo de respuesta de pre-aprobación en 1 a 2 dÃas.</li>\n </template>\n </ul>\n </div>\n </div>\n </tab-content>\n\n <!-- tab 2 content -->\n <tab-content\n v-if=\"!isPartialCreation\"\n title=\"Llenado de pre-solicitud\"\n class=\"mb-5\"\n icon=\"feather icon-briefcase\"\n :before-change=\"savePreproject\">\n\n <form v-if=\"!projectIsCreated\" data-vv-scope=\"step-2\">\n <vx-card v-if=\"section.id != 32 && section.id != 16\" v-for=\"section in formSections\" :key=\"section.id\" :title=\"section.public_name\" class=\"mb-5\">\n <p class=\"mb-4\" v-if=\"section.public_description != null\">{{section.public_description}}</p>\n\n <div class=\"vx-row\">\n <p v-if=\"section.id == 47 && applicant_is_pf\" class=\"vx-col w-full mb-4 ml-6 mr-6\">Como solicitante tipo <strong>\"Persona FÃsica\"</strong> podemos financiar hasta <strong>{{mxnFormat(maxUdisPF)}}</strong>. En caso de <strong>\"Actividad Empresarial\"</strong> puede ser un monto mayor.</p>\n <vs-alert color=\"primary\" v-if=\"section.id == 32 || section.id == 16\" class=\"mb-4 ml-4 mr-6\">\n <span class=\"text-justify\"><strong>Más adelante te pediremos el predial/escritura de la ubicación del proyecto.</strong>\n en caso de que la ubicación del proyecto sea el domicilio del solicitante, asegúrate que la información que ingrreses a continuación coincida \n con el documento anteriormente mencionado. De lo contrario, en su momento deberás contactar a tu ejecutivo de cuenta para solicitar un ajuste.</span>\n </vs-alert>\n <template v-for=\"f in section.fields\">\n <!-- Campos automaticos -->\n <template v-if=\"requestTypeSelected == 0\">\n <template v-if=\"section.id == 47 || section.id == 14\">\n <form-field \n ref=\"step2\"\n v-if=\"isAutoFormField(f) && (f.db_field == 'total_cost' || f.db_field == 'phone' || f.db_field == 'country_calling_code' || f.db_field == 'email')\"\n :key=\"f.id\"\n :f=\"f\"\n scope=\"step-2\"\n :dataContainer=\"payload\"\n :collectionsRoot=\"collections\"\n :onChangeReceptor=\"onFieldChange\"\n :evaluator=\"evaluateCondition\" />\n </template>\n <template v-else>\n <form-field \n ref=\"step2\"\n v-if=\"isAutoFormField(f)\"\n :key=\"f.id\"\n :f=\"f\"\n scope=\"step-2\"\n :dataContainer=\"payload\"\n :collectionsRoot=\"collections\"\n :onChangeReceptor=\"onFieldChange\"\n :evaluator=\"evaluateCondition\" />\n </template>\n </template>\n <template v-else>\n <template v-if=\"section.id == 47\">\n <form-field \n ref=\"step2\"\n v-if=\"isAutoFormField(f) && (f.db_field == 'total_cost')\"\n :key=\"f.id\"\n :f=\"f\"\n scope=\"step-2\"\n :dataContainer=\"payload\"\n :collectionsRoot=\"collections\"\n :onChangeReceptor=\"onFieldChange\"\n :evaluator=\"evaluateCondition\" />\n </template>\n <template v-else>\n <form-field \n ref=\"step2\"\n v-if=\"isAutoFormField(f) && showFormFields(f.db_field)\"\n :key=\"f.id\"\n :f=\"f\"\n scope=\"step-2\"\n :dataContainer=\"payload\"\n :collectionsRoot=\"collections\"\n :onChangeReceptor=\"onFieldChange\"\n :evaluator=\"evaluateCondition\" />\n </template>\n </template>\n </template>\n </div>\n </vx-card>\n </form>\n\n <div v-else-if=\"requestTypeSelected == 0 && (SupplierId == 2323)\">\n <vx-card class=\"mb-5\" v-if=\"!identityVerificationHasExpired && needIdentityVerification\">\n <h6 class=\"mb-3\">Verificación de identidad</h6>\n <div class=\"vx-row m-0\">\n <applicant-identity-verification\n ref=\"applicant-identity-verification\"\n :isMoral=\"!applicant_is_pf\"\n :userId=\"current_user_id\"\n :person-type=\"payload.person_type\"\n />\n </div>\n <div v-if=\"createdClient != null\">\n <vs-divider class=\"m-4\">Información personal</vs-divider>\n <div class=\"vx-row p-4\">\n <div class=\"vx-col w-full\">\n <div class=\"vx-row sm:w-full md:w-1/2\">\n <ul class=\"list-bold\">\n <li>\n Nombre: <strong>{{ client_personal.first_name }} {{ client_personal.second_name }}</strong>\n </li>\n <li>\n Apellido Paterno: <strong>{{ client_personal.last_name_1 }}</strong>\n </li>\n <li>\n Apellido Materno: <strong>{{ client_personal.last_name_2 }}</strong>\n </li>\n <li>\n Correo: <strong>{{ createdClient.user.email }}</strong>\n </li>\n <li>\n Teléfono: <strong>({{ client_personal.country_calling_code }}) {{ client_personal.new_phone }}</strong>\n </li>\n </ul>\n </div>\n <div class=\"vx-row sm:w-full md:w-1/2\">\n <ul class=\"list-bold\">\n <li>\n Fecha de nacimiento: <strong>{{ client_personal.birth_date }}</strong>\n </li>\n <li>\n Género: <strong>{{ client_personal.real_gender }}</strong>\n </li>\n <li>\n CURP: <strong>{{ client_personal.curp }}</strong>\n </li>\n <li>\n Nacionalidad: <strong>{{ client_personal.citizenship_named }}</strong>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </vx-card>\n\n <template v-else>\n <vx-card class=\"mb-6\">\n <form data-vv-scope=\"step-2\">\n <vx-card v-if=\"section.id == 14\" v-for=\"section in formSections\" :key=\"section.id\" :title=\"section.public_name\" class=\"mb-5\">\n <p class=\"mb-4\" v-if=\"section.public_description != null\">{{section.public_description}}</p>\n <vs-alert color=\"danger\" v-if=\"section.id == 14\" class=\"mb-4 mr-6\">\n <span class=\"text-justify\">\n <strong>Parece que nos tomará más tiempo del esperado.</strong><br>\n Para continuar con el proceso de la solicitud exprés, te pedimos llenes la información personal de tu cliente y le pidas su autorización para\n que podamos consultar su historial crediticio. ¡Recuerda guardar cambios cuando estés listo!\n </span>\n </vs-alert>\n <div class=\"vx-row\">\n <template v-for=\"f in section.fields\">\n <!-- Campos automaticos -->\n <template v-if=\"section.id == 14\">\n <form-field \n ref=\"step2\"\n v-if=\"isAutoFormField(f)\"\n :key=\"f.id\"\n :f=\"f\"\n scope=\"step-2\"\n :dataContainer=\"payload\"\n :collectionsRoot=\"collections\"\n :onChangeReceptor=\"onFieldChange\"\n :evaluator=\"evaluateCondition\" />\n </template>\n </template>\n </div>\n <!-- Save Button -->\n <div class=\"vx-row\">\n <div class=\"vx-col w-full\">\n <div class=\"flex flex-wrap items-center justify-end\">\n <vs-button class=\"ml-3 mt-2\" @click=\"saveGroupChanges()\">Guardar cambios</vs-button>\n </div>\n </div>\n </div>\n\n </vx-card>\n </form>\n </vx-card>\n </template>\n\n <vx-card v-if=\"identityIsCompleted || identityVerificationHasExpired || !needIdentityVerification\" class=\"mb-4\">\n <h4 class=\"mb-4\">Verificación de historial crediticio</h4> \n <div class=\"w-full mb-4 text-justify flex\">\n <vs-checkbox v-model=\"cdcPayload.tyc\" :vs-value=\"1\">\n </vs-checkbox>\n <span class=\"ml-2 mt-1\">Acepto el <a href=\"https://www.redgirasol.com/aviso-de-privacidad\" target=\"_blank\">Aviso de Privacidad</a> y <a href=\"https://www.redgirasol.com/terminos-y-condiciones\" target=\"_blank\">Términos y Condiciones</a> y cláusulas de medios electrónicos tales como NIP.</span>\n </div>\n\n <div class=\"mb-4\">\n <h5>Autorización de Consulta.</h5>\n <div class=\"w-full\">\n <p class=\"text-justify\">\n Autorizo expresamente a <strong>Red Girasol S.A.P.I. de C.V. Institución de Financiamiento Colectivo</strong>, para llevar a cabo Investigaciones sobre mi comportamiento crediticio\n en las Sociedades de Información Crediticia (SIC) que estime conveniente. Conozco la naturaleza y alcance de la información \n que se solicitará, del uso que se le dará y que se podrán realizar consultas periódicas de mi historial crediticio.\n Consiento que esta autorización tenga una vigencia de 3 años contados a partir de hoy, y en su caso mientras mantengamos\n relación jurÃdica. Acepto que este documento quede bajo propiedad de <strong>Red Girasol S.A.P.I. de C.V. Institución de Financiamiento Colectivo y/o SIC Consultada</strong>\n para efectos de control y cumplimiento del artÃculo 28 de la LRSIC.\n </p><br>\n <div class=\"mb-base\">\n <div class=\"vx-row\">\n <div class=\"vx-col w-full mb-3\">\n <p>\n Al solicitar el <strong>NIP</strong> recibirás un mensaje de texto (sms) al teléfono celular proporcionado anteriormente; puede tardar hasta 1 minuto en llegar. \n <!-- En caso de no haberlo recibido, lo puedes volver a solicitar dando clic <a @click.stop=\"doRequestCDCNip()\" class=\"clickable-img\">aquÃ</a>. -->\n </p>\n <div v-if=\"showWhatsapp\" class=\"mb-2 mt-2\">\n <p class=\"bold mb-1\">\n ¿No lo recibiste? Puedes intentarlo de nuevo cuando el código expire.\n </p>\n <div class=\"clickable-img\" @click.stop=\"doRequestCDCNip(true)\">\n <vs-chip class=\"mr-2 bold\">Enviar Whatsapp a {{ this.payload.country_calling_code }}{{ anonymousFormatPhone(this.payload.client$phone) }}</vs-chip>\n </div>\n <div class=\"clickable-img\" @click.stop=\"doRequestCDCNip()\">\n <vs-chip class=\"mr-2 bold\">Enviar SMS a {{ this.payload.country_calling_code }}{{ anonymousFormatPhone(this.payload.client$phone) }}</vs-chip>\n </div>\n </div>\n </div>\n <div class=\"vx-col sm:w-full mb-2\">\n <vs-button v-if=\"!nipIsCreated\" @click=\"doRequestCDCNip()\" color=\"primary\" class=\"bold-btn mb-2\" type=\"filled\">Recibir NIP</vs-button>\n </div>\n <div class=\"vx-col sm:w-full mt-2 mb-3\">\n <label for=\"code\">Ingresa NIP</label>\n <vs-input\n type=\"text\"\n v-model.lazy=\"cdcPayload.verification_code\"\n name=\"code\"\n v-validate=\"'required|numeric'\"\n maxlength=\"6\"\n autocomplete=\"off\"\n v-on:keyup.enter=\"doAuthorizationCDC()\"\n placeholder=\"Ingresa NIP\" \n :disabled=\"!nipIsCreated\"\n />\n </div>\n <div class=\"vx-col sm:w-full mb-2\">\n <vs-button v-if=\"nipIsCreated\" :disabled=\"cdcPayload.verification_code == null || cdcPayload.tyc == null || cdcPayload.tyc == false || !personalUpdated\" @click=\"doAuthorizationCDC()\" color=\"primary\" class=\"bold-btn mb-2\" type=\"filled\">Autorizo</vs-button>\n </div>\n </div>\n </div>\n\n <!-- <small class=\"mb-3\">\n *** Para enviar la solicitud, primero debes aceptar el <a href=\"https://www.redgirasol.com/aviso-de-privacidad\" target=\"_blank\">Aviso de Privacidad</a> y <a href=\"https://www.redgirasol.com/terminos-y-condiciones\" target=\"_blank\">Términos y Condiciones</a>, asà como haber autorizado la consulta.\n </small> -->\n </div>\n </div> \n </vx-card>\n </div>\n </tab-content>\n \n <tab-content\n v-else-if=\"isPartialCreation\"\n title=\"LLenado de pre-solicitud\"\n class=\"mb-5\"\n icon=\"feather icon-briefcase\"\n :before-change=\"savePartialPreproject\">\n\n <form data-vv-scope=\"step-2\" v-if=\"formatDocField\">\n <!-- Formato -->\n <vx-card title=\"Pre-solicitud para solicitante existente\" class=\"mb-5\">\n <p class=\"mb-3\">Solicitante seleccionado: <strong>{{this.partialCreationClientName}}</strong>.</p>\n <p class=\"mb-4\">Se creará una nueva pre-solicitud a partir de los datos ya existentes del solicitante.\n Sin embargo, es necesario que <strong>se llene de nueva cuenta el formato de revisión crediticia y lo agregues firmado y escaneado.\n Puedes descargar el formato aquÃ:</strong></p>\n\n <!-- Formatos -->\n <download-button\n v-if=\"payload.person_type != pmTypeValue\"\n title=\"CÃrculo de Crédito Persona FÃsica o PFAE\"\n actionLink=\"/formatos/Formato-Consulta-Informacion-Crediticia-CC-Persona-Fisica-o-PFAE.pdf\"\n fileName=\"Formato-Consulta-Informacion-Crediticia-CC-Persona-Fisica-o-PFAE.pdf\"\n :remoteFile=\"true\" />\n\n <download-button\n v-if=\"payload.person_type == pmTypeValue\"\n title=\"CÃrculo de Crédito Persona Moral\"\n actionLink=\"/formatos/Formato-Consulta-Informacion-Crediticia-CC-Persona-Moral.pdf\"\n fileName=\"Formato-Consulta-Informacion-Crediticia-CC-Persona-Moral.pdf\"\n :remoteFile=\"true\" />\n\n <div class=\"vx-row mt-4\">\n <document-upload \n ref=\"formato\"\n :f=\"formatDocField.formField\"\n @on-success=\"onDocumentUploadSuccess\"\n @on-error=\"onDocumentUploadError\"\n :automatic=\"true\"\n :target_id=\"partialCreationUserId\"\n :doc=\"formatDocField.documentSet\"\n :skipLoadedActions=\"true\"\n :initAsEmpty=\"true\"\n />\n </div>\n </vx-card>\n \n </form>\n\n </tab-content>\n\n </form-wizard>\n </vx-card>\n <load-error v-if=\"failed\" />\n <!-- NOTIFICACIÓN -->\n <vs-popup id=\"prerequest-notification\" title=\"Aviso importante.\" :active.sync=\"popupActive\" color=\"#fff\">\n <h2>Sobre tus pagos y avance del proyecto.</h2>\n <div>\n <vs-alert v-if=\"SupplierStatus === 3\" color=\"warning\" active=\"true\" style=\"height:auto\">\n Tu perfil esta en <strong>proceso de verificación</strong>. Puedes crear una Pre-Solicitud para que RedGirasol evalúe su viabilidad crediticia. Solo considera que para concluir el proceso de evaluación de la Solicitud deberás tener tu perfil como Proveedor ya verificado por parte de RedGirasol.\n </vs-alert><br>\n <p>\n Antes de completar el envÃo de la solicitud, es importante que consideres algunos puntos relevantes:\n </p><br>\n <ol class=\"ml-8 mr-8\" style=\"list-style-type: decimal !important;\">\n <li>\n Recibirás el 70% del anticipo una vez que el proyecto haya concluido el fondeo y cuando los contratos \n correspondientes al <strong>1. Crédito (Anticipo)</strong> y <strong>2. Compraventa (Anticipo)</strong> hayan sido firmados.\n </li>\n <li>\n El monto restante será cubierto al finalizar la instalación, una vez que se hayan comprobado las evidencias\n y después de que hayan sido firmados los contratos correspondientes al <strong>3. Crédito (Finiquito)</strong> y <strong>4. Compraventa (Finiquito)</strong>.\n </li>\n </ol>\n <br>\n <p>\n Para mayor información estaremos para apoyarte a través del chat de la plataforma \n o en cualquiera de nuestras redes sociales. ¡Sigamos iluminando al paÃs!\n </p><br>\n <vs-button @click=\"doSaveProject()\" color=\"primary\" class=\"mt-2\" type=\"filled\">Enterad@</vs-button>\n </div>\n </vs-popup>\n <!-- NOTIFICACIÓN -->\n </div>\n</template>\n\n<script>\nimport inputHelper from \"@components/mixins/inputHelper\";\nimport dateHelper from \"@components/mixins/dateHelper\";\nimport formHelper from \"@components/mixins/formHelper\";\nimport FormField from \"@components/forms/FormField.vue\";\nimport DownloadButton from '@components/supplier/DownloadButton.vue'\nimport formatHelper from '@components/mixins/formatHelper';\nimport ApplicantIdentityVerification from \"@applicant/widgets/ApplicantIdentityVerification.vue\";\nimport userIdentityHelper from \"@/helpers/userIdentityHelper\";\n\nimport { FormWizard, TabContent } from \"vue-form-wizard\";\nimport \"vue-form-wizard/dist/vue-form-wizard.min.css\";\n\nconst sourceTypesOptions = [\n { type: 0, text: \"SOLICITANTE NUEVO\" },\n { type: 1, text: \"SOLICITANTE EXISTENTE\" },\n];\n\nconst personTypeOptions = [\n { type: 0, text: \"PERSONA FÃSICA\" },\n // { type: 2, text: \"PERSONA FÃSICA CON ACTIVIDAD EMPRESARIAL\" },\n { type: 1, text: \"PERSONA MORAL\" }\n];\nconst genderDefs = [\n {k: 1, v: \"HOMBRE\"},\n {k: 2, v: \"MUJER\"},\n];\nconst emailNotAvailable = \"emailNotAvailable\";\n\nexport default {\n name: \"pre-project\",\n mixins: [formHelper, inputHelper, dateHelper, formatHelper, userIdentityHelper],\n components: {\n FormField,\n FormWizard,\n TabContent,\n DownloadButton,\n ApplicantIdentityVerification\n },\n data() {\n return {\n isTypeSelected: false,\n isMounted: false,\n loading: false,\n failed: false,\n errorMssg: \"\",\n successMssg: \"\",\n\n projectIsCreated: false,\n createdProject: {},\n\n titleBase: \"Fase de pre-solicitud\",\n title: \"Fase de pre-solicitud\",\n pTypeSrc: \"\",\n\n sourceTypeNew: 0,\n sourceTypeExisting: 1,\n\n pfTypeValue: 0,\n pfaeTypeValue: 2,\n pmTypeValue: 1,\n\n person_type_section_id: 25,\n form_id_pf: 9,\n form_id_pfae: 10,\n form_id_pm: 11,\n\n pfFormatDocId: 16,\n pmFormatDocId: 24,\n pf_person_type: 1,\n pm_person_type: 1,\n\n form: {},\n \n allSections: [],\n formSections: [],\n\n documentsFields: [],\n documentsStates: [],\n\n collections: {\n cities: [],\n states: [],\n countries: [],\n sourceTypes: sourceTypesOptions, \n personTypes: personTypeOptions,\n genders: genderDefs,\n neighborhoods: [],\n\n states_application_address: [],\n cities_application_address: [],\n neighborhoods_application_address: [],\n\n states_application_business_address: [],\n cities_application_business_address: [],\n neighborhoods_application_business_address: []\n },\n\n clientsList: [],\n\n selectField: {},\n\n payload: {\n person_type: null\n },\n\n existingApplicantId: null,\n canSelectExistingApplicant: null,\n minimumDaysToCreditReview: 180,\n\n sourceType: null,\n created_id: null,\n errorEmailNotAvailable: null,\n requieredDocs: null,\n uploadedDocs: null,\n succededDocs: null,\n failedDocs: null,\n\n docsSuccess: null,\n\n count: 0,\n max: 0,\n\n // auxiliares para evaluacion de condiciones\n mexicoCountryId: 700,\n\n partialCreationConfirmed: null,\n isPartialCreation: null,\n formatDocField: null,\n partialCreationClientName: null,\n partialCreationUserId: null,\n\n slas: {\n min_applicant_age: null,\n max_applicant_age: null,\n max_first_project_supplier_total_cost_mxn: null,\n min_financed_amount_mxn: null,\n max_applicant_pf_financed_amount_udis: null,\n max_financed_amount_mxn: null,\n },\n maxUdisPF:0,\n udis: null,\n popupActive: false,\n continue: false,\n pfae_tax_profile: 1,\n potentialApplicants: [],\n requestTypeSelected: 1,\n status: null,\n identityIsCompleted: false,\n current_user_id: null,\n metamapPopUpActive: false,\n cdcPayload: {\n person_type: null,\n tyc: null\n },\n code: null,\n nip: null,\n nipIsCreated: false,\n totalTime: 60,\n loadingTextTimed: ``,\n identityVerificationHasExpired: false,\n statusMetamap: null,\n createdClient: null,\n personalUpdated: false,\n crowdfunding_loan_type_pf: 1,\n crowdfunding_loan_type_pfae_pm: 2,\n nipCounter: 0,\n uniquePhoneResponse: null,\n needIdentityVerification: false,\n showWhatsapp: false,\n whatsappTime: 30\n };\n },\n async mounted() {\n this.loading = true;\n this.isMounted = false;\n await this.getCollections();\n await this.getClientsList();\n await this.getSelectField();\n this.getPGMPotentialApplicants();\n this.calculateMaxUdisPF();\n this.isMounted = true;\n this.loading = false;\n if(!this.canSelectExistingApplicant){\n let wiz = this.$refs['wizard'];\n wiz.changeTab(0, 1);\n }\n this.$store.subscribe(mutation => {\n if(mutation.type == 'SET_MATI_PROCESS_IS_FINISHED'){\n this.initIdentityVerificationTimer();\n }\n });\n },\n computed: {\n has_pgm_potential_applicants() {\n return this.potentialApplicants.length > 0;\n },\n pgm_potential_applicants_options() {\n return this.potentialApplicants.map((pa) => ({ value: pa.id, text: `${pa.customer_uid} | ${pa.customer_name} | ${pa.owner_name}` }));\n },\n is_legal_representative_owner() {\n return this.payload.business$legal_representative_is_owner;\n },\n should_show_address_document() {\n return this.payload.business$legal_representative_is_owner;\n },\n is_legal_representative_not_owner() {\n return !this.payload.business$legal_representative_is_owner;\n },\n should_show_is_legal_rep_owner_question() {\n return true;\n },\n secondTabTitle(){\n if(this.$refs[\"wizard\"] && this.$refs[\"wizard\"].activeTabIndex == 0 ){\n return \"Paso 2\";\n }\n else {\n if(this.sourceType == this.sourceTypeExisting){\n return \"Selección del solicitante\"\n }\n else {\n return \"Selección del tipo de solicitante\"\n }\n }\n },\n currentProjectId(){\n return null;\n },\n currentClientUserId(){\n return null;\n },\n should_fill_owner_bdate_gender(){\n return true; // se considera que el curp no esta condicionado por la nacionalidad\n //return this.payload.owner$citizenship == this.mexicoCountryId || this.payload.owner$citizenship == null ? true : false;\n },\n should_fill_owner_rfc_curp_fiscal_rec(){\n return true; // se considera que el curp no esta condicionado por la nacionalidad\n //return this.payload.owner$citizenship == this.mexicoCountryId || this.payload.owner$citizenship == null ? true : false;\n },\n is_project_view(){\n return false;\n },\n is_pf_and_tax_profile_one(){\n return false;\n },\n applicant_is_pf(){\n return this.payload.person_type == 0;\n },\n client_personal() {\n return this.createdClient.user.personal;\n },\n should_block_email() {\n return this.requestTypeSelected == 0 ? this.current_user_id != null : false ;\n },\n should_block_phone() {\n return this.requestTypeSelected == 0 ? this.current_user_id != null : false ;\n }\n },\n watch: {\n loading: function(newVal, oldVal) {\n if (newVal == true) {\n this.$vs.loading();\n } else {\n this.$vs.loading.close();\n }\n }, \n totalTime: function(newVal, oldVal) {\n if(newVal == 20) {\n this.getCreatedClientInfo();\n if (this.client_personal.curp != null && this.client_personal.curp != \"\") { \n this.personalUpdated = true;\n this.totalTime = 0;\n }\n } \n },\n nipCounter: function(newVal, oldVal) {\n if (newVal > 2) {\n // Decir que mejor vaya con una solicitud normal.\n this.formSubmittedExpress();\n }\n }\n },\n methods: {\n initIdentityVerificationTimer(){\n this.totalTime = 60;\n this.text = `Sólo nos toma ${this.totalTime} segundos obtener esta información. `\n this.showLoading(true, this.text);\n let loading = document.getElementsByClassName(\"title-loading\");\n let timer = setInterval(() => {\n this.totalTime-=1;\n this.text = `Sólo nos toma ${this.totalTime} segundos obtener esta información. `\n loading[0].innerText = this.text;\n if(this.totalTime == 0){\n this.identityVerificationHasExpired = true;\n clearInterval(timer);\n this.showLoading(false);\n }\n }, 1000);\n },\n async getPGMPotentialApplicants(){\n try {\n const res = await axios.get(`/api/kof/get/loan-request/potential-applicants/${this.SupplierId}`);\n this.potentialApplicants = res.data;\n } catch (error) {\n this.warn(error);\n this.failedOperationNotif();\n }\n },\n async formSubmitted(){\n let mssg = \"Tu proyecto ha sido creado, y está en revisión para ser pre-aprobado. Enviaremos un correo a tu cliente para informarle que le estas generando una pre-solicitud de crédito para que nos ayude proporcionado sus datos y avance en la pre-solicitud. \";\n mssg += `El ID de tu proyecto es: ${this.created_id}.`;\n this.$vs.dialog({\n color: \"success\",\n type: \"confirm\",\n title: \"Pre-solicitud creada correctamente\",\n text: mssg,\n acceptText: \"Ver solicitud\",\n cancelText: 'Finalizar',\n accept: this.goToProject,\n cancel: this.finish,\n close: this.finish,\n })\n },\n async formSubmittedExpress(){\n let mssg = \"Por el momento no podemos continuar con la solicitud exprés, te invitamos a continuar con una pre-solicitud tradicional y enviarla a revisión. \";\n mssg += `El ID de tu proyecto es: ${this.created_id}.`;\n this.$vs.dialog({\n color: \"success\",\n type: \"confirm\",\n title: \"Pre-solicitud creada correctamente\",\n text: mssg,\n acceptText: \"Ver solicitud\",\n cancelText: 'Finalizar',\n accept: this.goToProject,\n cancel: this.finish,\n close: this.finish,\n })\n },\n async validateSourceType(){\n return await new Promise(async (resolve, reject) => {\n this.loading = true;\n let result = await this.$validator.validateAll('step-0');\n if (result) {\n if(this.sourceType == this.sourceTypeNew){\n // proyecto para cliente nuevo\n this.title = `${this.titleBase}: solicitante nuevo`;\n resolve(true);\n }\n else{\n // proyecto para cliente existente\n this.title = `${this.titleBase}: solicitante existente`;\n resolve(true);\n }\n } else {\n this.warningNotif(\"Selección de tipo de solicitante\", \n \"Por favor elije si deseas crear el proyecto para un nuevo solicitante o uno existente\");\n reject(\"correct all values\");\n }\n this.loading = false;\n })\n },\n async validateSelectType() {\n return await new Promise(async (resolve, reject) => {\n this.loading = true;\n this.isPartialCreation = null;\n \n if(this.sourceType == this.sourceTypeExisting){\n if (this.existingApplicantId != null) {\n let r = await this.runClientValidation();\n if(!r){\n reject(\"not\");\n }\n else {\n // obtener los datos de los documentos \n await this.getFormInfoForPartialCreation();\n resolve(true);\n }\n }\n else {\n this.warningNotif(\"Selección del solicitante\", \"Por favor selecciona al cliente\");\n reject(\"correct all values\");\n }\n }\n else{\n if (this.payload.person_type != null) {\n if(this.applicant_is_pf && this.requestTypeSelected == null) {\n this.warningNotif(\"Selección de tipo de solicitud\", \"Por favor selecciona la opción que defina el tipo de solicitud a realizar.\");\n reject(\"not\");\n }\n await this.getFormInfo();\n this.pTypeSrc = this.collections.personTypes.find(f => f.type == this.payload.person_type).text;\n this.title = `${this.titleBase}: ${this.pTypeSrc} `;\n resolve(true);\n } \n else {\n this.warningNotif(\"Selección de tipo de solicitante\", \"Por favor selecciona la opción que defina a tu cliente\");\n reject(\"correct all values\");\n }\n }\n this.loading = false;\n })\n },\n async confirmPartialCreation(sel, explanation){\n this.loading = false;\n this.partialCreationConfirmed = null;\n\n this.$vs.dialog({\n color: \"warning\",\n type: \"confirm\",\n title: \"Creación de pre-solicitud\",\n text: `Confirme que desea crear una pre-solicitud. ${explanation}`,\n acceptText: \"Confirmar\",\n cancelText: 'Cancelar',\n cancel: () => {this.partialCreationConfirmed = false},\n accept: () => {this.partialCreationConfirmed = true},\n });\n\n await (async() => {\n while(this.partialCreationConfirmed == null) {\n await this.sleep(100);\n }\n })();\n \n if(this.partialCreationConfirmed){\n this.isPartialCreation = true;\n }\n\n return this.partialCreationConfirmed;\n },\n confirmFullCreation(sel){\n this.$vs.dialog({\n color: \"warning\",\n type: \"confirm\",\n title: \"Creación de pre-solicitud\",\n text: `Confirme que desea crear una solicitud para el cliente ${sel.fullname}. Todos los datos se llenarán en base a la información provista en el pasado.`,\n acceptText: \"Confirmar\",\n cancelText: 'Cancelar',\n accept: this.createFullPreproject,\n });\n },\n async createFullPreproject(){\n this.loading = true;\n try {\n let payload = { client_id: this.existingApplicantId };\n let res = await axios.post('/api/v2/projects/createProjectForApplicant', payload);\n if(res.data.success == true){\n this.created_id = res.data.id;\n await this.formSubmitted();\n }\n else {\n this.warn(res.data.error);\n this.errorMssg = res.data.error;\n }\n }\n catch (error) {\n this.warn(err);\n this.failedOperationNotif();\n }\n this.loading = false;\n },\n\n async runClientValidation(){\n try {\n let sel = this.clientsList.find(f => f.id == this.existingApplicantId); \n let res = await axios.post(`/api/v1/supplier/${this.SupplierId}/checkExistingClientForProject`, {client_id: sel.id});\n const explanation = res.data.explanation.replace('%name%', sel.fullname);\n if(res.data.result == 'failed') {\n this.$vs.dialog({\n color: \"danger\",\n title: \"Creación de solicitud\",\n text: `${explanation}`,\n acceptText: \"Cerrar\",\n });\n\n return false;\n }\n else if(res.data.result == 'partial-passed') {\n return await this.confirmPartialCreation(sel, explanation);\n }\n else if(res.data.result == 'full-passed') {\n this.confirmFullCreation(sel, explanation);\n }\n\n } catch (error) {\n this.warn(error);\n return false;\n }\n },\n\n async savePreproject() {\n if(this.continue){\n return await new Promise(async (resolve, reject) => {\n let result = await this.runValidations();\n if(!result){\n this.missingFieldsNotif();\n reject(\"\");\n }\n else{\n // Mandar a guardar para disparar la validación con Metamap\n let loadingMessage = \"Generando pre-solicitud, por favor no recargues la página...\";\n if (this.requestTypeSelected == 0) {\n loadingMessage = \"\";\n }\n this.showLoading(true, loadingMessage);\n let res = await this.saveFormInfo();\n this.showLoading(false);\n if(res == true){\n resolve(true);\n if (this.requestTypeSelected != 0) {\n this.formSubmitted();\n } else {\n let wFooter = document.getElementsByClassName(\"wizard-card-footer\");\n wFooter[0].style.display = \"none\";\n }\n }\n else {\n if(this.errorEmailNotAvailable){\n // mostrar error sobre correo ya utilizado\n let text = 'El correo ingresado ya está registrado en RedGirasol, por lo que es necesario ingresar una dirección diferente.';\n text += \"\\n Si tienes alguna duda al respecto, por favor comunÃcate con nosotros a través del Chat.\"\n this.$vs.dialog({\n color: 'danger',\n title: \"No es posible ejecutar el registro\",\n text: text,\n acceptText: \"Aceptar\",\n });\n }\n else{\n this.failedOperationNotif(null, this.errorMssg);\n }\n reject(\"\");\n }\n }\n this.continue = false;\n });\n } else {\n this.popupActive = true;\n }\n },\n doSaveProject(){\n this.popupActive = false;\n this.continue = true;\n this.savePreproject();\n },\n async savePartialPreproject(){\n return await new Promise(async (resolve, reject) => {\n // let r = await this.$refs.formato.checkForNewFileSaved();\n // if(!r){\n // this.missingFieldsNotif(\"Documento pendiente\", \"Por favor agrega el documento antes de continuar\");\n // reject(\"\");\n // }\n // else {\n try {\n let payload = { client_id: this.existingApplicantId };\n let res = await axios.post('/api/v2/projects/createProjectForApplicant', payload);\n if(res.data.success == true){\n this.created_id = res.data.id;\n await this.formSubmitted();\n }\n else {\n this.warn(res.data.error);\n this.errorMssg = res.data.error;\n }\n }\n catch (error) {\n this.warn(err);\n this.failedOperationNotif();\n }\n // }\n \n })\n },\n async runValidations(isForExpress = false) {\n // validar componentes tipo FormField\n let res1 = await this.validateFormFields(\"step2\");\n if(!res1){\n return false;\n }\n\n // validar inputs instanciados en la vista\n let res2 = await this.$validator.validateAll('step-2');\n if(!res2){\n return false;\n }\n\n // validaciones especiales\n let res3 = await this.checkFormFieldsSpecialValidations(\"step2\");\n if(!res3){\n return false;\n }\n\n if(this.requestTypeSelected != 0) {\n // verificacion de documentos cargados\n // let resd = await this.validateDocuments();\n // if(!resd){\n // this.missingFieldsNotif(\"Documentos pendientes\", \"Es necesario que cargues todos los documentos solicitados para poder enviar la pre-solicitud\", 10000);\n // return false;\n // }\n }\n\n return true;\n },\n async validateFormFields(gslug){\n let allValid = true;\n let grefs = this.$refs[gslug];\n for(let p in grefs){\n let r = await this.$refs[gslug][p].validate();\n if(r == false){\n allValid = false;\n }\n }\n return allValid;\n },\n async validateDocuments(){\n let allValid = true;\n this.$refs.documents = this.$refs.documents.filter((current) => {\n if(this.is_legal_representative_not_owner) {\n if(current.doc.id == 31 || current.doc.id == 23) \n return false;\n }\n return true;\n });\n let docs = this.$refs.documents;\n for(let dd in docs){\n \n // const current = this.$refs.documents[dd];\n // if(this.is_legal_representative_not_owner) {\n // if(current.doc.id == 31 || current.doc.id == 23) \n // continue; \n // }\n\n if(this.payload.person_type == this.pfTypeValue && this.$refs.documents[dd].f.fname === \"fiscal_record_df_id\"){\n continue;\n } else {\n let r = await this.$refs.documents[dd].checkForNewFileLoaded();\n if(r == false){\n allValid = false;\n }\n }\n }\n return allValid;\n },\n async checkFormFieldsSpecialValidations(refGroup){\n let spvalid = true;\n let grefs = this.$refs[refGroup];\n let f;\n for(let p in grefs){\n f = grefs[p];\n let sp = f.specialValidation();\n if(sp != null && sp.method in this){\n let res = await this[sp.method]();\n let n = f.rawFieldName\n if(f.f.db_field === \"rfc\") {\n if(res.length === 0) {\n continue;\n } else {\n spvalid = false;\n res.forEach(item => {\n this.errorNotif(item.n, item.e, 10000);\n })\n }\n }\n if(!res){\n spvalid = false;\n if(sp.custom_error){\n let err = this[sp.custom_error]();\n f.setError(err);\n this.errorNotif(n, err, 10000);\n }\n else {\n f.setError(sp.error);\n this.errorNotif(n, sp.error, 10000);\n }\n continue;\n }\n }\n }\n\n return spvalid;\n },\n\n async validate_project_finances(){\n let cost = this.payload.total_cost;\n let count = 0;\n let milis = 15000;\n try {\n let res = await axios.get(`/api/v1/supplier/${this.SupplierId}/getSupplierFinishedProjectsCount`);\n count = res.data;\n } catch (error) {\n this.warn(error);\n }\n\n if(count < 1 && cost > parseInt(this.slas.max_first_project_supplier_total_cost_mxn) ){\n let pfsla = this.mxnFormat(this.slas.max_first_project_supplier_total_cost_mxn);\n this.errorNotif(\"Costo del proyecto\", \"El costo máximo a financiar para instaladores sin proyectos finalizados es de \" + pfsla, milis);\n return false;\n }\n\n if(cost < parseInt(this.slas.min_financed_amount_mxn)){\n let minf = this.mxnFormat(this.slas.min_financed_amount_mxn);\n this.errorNotif(\"Costo del proyecto\", \"El costo mÃnimo del proyecto es de \" + minf, milis);\n return false;\n }\n \n let maxudis = parseInt(this.slas.max_applicant_pf_financed_amount_udis);\n let fixudis = parseFloat(this.udis).toFixed(7);\n let maxpfmxn = maxudis * fixudis;\n\n // if (this.applicant_is_pf && cost > maxpfmxn) {\n // this.errorNotif(\"Costo del proyecto\",\n // \"El costo máximo a financiar para personas fÃsicas es de \" + this.format_price(maxudis, 0) +\n // \" UDIS, que corresponde a \" + this.mxnFormat(maxpfmxn), milis);\n // return false;\n // }\n // if(this.payload.person_type == this.pfTypeValue && this.payload.crowdfunding_loan_type != this.crowdfunding_loan_type_pfae_pm && cost > maxpfmxn){\n // this.errorNotif(\"Costo del proyecto\",\n // \"El costo máximo a financiar para personas fÃsicas es de \" + this.format_price(maxudis, 0) +\n // \" UDIS, que corresponde a \" + this.mxnFormat(maxpfmxn), milis);\n // return false;\n // }\n\n // if(this.payload.person_type == this.pfTypeValue && this.payload.crowdfunding_loan_type == this.crowdfunding_loan_type_pfae_pm && cost > parseInt(this.slas.max_financed_amount_mxn)){\n // let maxf = this.mxnFormat(this.slas.max_financed_amount_mxn);\n // this.errorNotif(\"Costo del proyecto\",\n // \"El costo máximo a financiar para personas fÃsicas con actividad empresarial es de \" + maxf, milis);\n // return false;\n // }\n\n if(this.payload.person_type == this.pmTypeValue && cost > parseInt(this.slas.max_financed_amount_mxn)){\n let maxm = this.mxnFormat(this.slas.max_financed_amount_mxn);\n this.errorNotif(\"Costo del proyecto\",\n \"El costo máximo a financiar para personas morales es de \" + maxm, milis);\n return false;\n }\n return true;\n },\n async saveFormInfo(){\n let ok = false;\n this.errorEmailNotAvailable = false;\n try{\n let payload = this.packNested(this.payload);\n payload.request_type_selected = this.requestTypeSelected;\n let res = await axios.post('/api/v2/projects/createPreproject', payload);\n if(res.data.success == true){\n this.created_id = res.data.id;\n this.current_user_id = res.data.user_id;\n\n // enviar documentos\n await this.getCreatedProjectInfo();\n this.projectIsCreated = true;\n\n if(this.requestTypeSelected != 0) {\n ok = true;\n // await this.sendAllDocuments();\n \n // if(this.docsSuccess){\n // ok = true;\n // }\n // else{\n // ok = false;\n // this.errorNotif(\"Error al cargar archivos\", \n // \"Uno o más archivos han tenido un problema al cargarse, por favor corrobora que los formatos sean los correctos e intenta de nuevo\", 10000);\n // }\n } else {\n this.askForIdentityVerification();\n ok = true;\n }\n }\n else {\n this.warn(res.data.error);\n ok = false;\n if(res.data.error == emailNotAvailable){\n this.errorEmailNotAvailable = true;\n }\n else{\n this.errorMssg = res.data.error;\n }\n }\n }\n catch(e){\n this.warn(e.response);\n ok = false;\n let err = e.response.data ? e.response.data.error : null;\n if(err == emailNotAvailable){\n this.errorEmailNotAvailable = true;\n }\n else{\n this.errorMssg = err;\n }\n }\n return ok;\n },\n async getCreatedProjectInfo(){\n try{\n // ?filter[status]=3 // ejemplo de filtro\n let params = \"with[]=client.user\";\n let response = await axios.get(`/api/v2/projects/${this.created_id}?${params}`);\n this.createdProject = response.data;\n }\n catch(e){\n this.warn(e);\n }\n }, \n async getCreatedClientInfo(){\n try{\n // ?filter[status]=3 // ejemplo de filtro\n let params = \"with[]=client.user.personal\";\n let response = await axios.get(`/api/v2/projects/${this.created_id}?${params}`);\n this.createdClient = response.data;\n }\n catch(e){\n this.warn(e);\n }\n },\n async sendAllDocuments(){\n this.uploadedDocs = 0;\n this.succededDocs = 0;\n this.failedDocs = 0;\n let docs = this.$refs.documents;\n this.requieredDocs = docs.length;\n for(let dd in docs){\n if(this.payload.person_type == this.pfTypeValue && this.$refs.documents[dd].f.fname === \"fiscal_record_df_id\"){\n this.requieredDocs = this.requieredDocs -1;\n continue;\n } else {\n let doc = this.$refs.documents[dd];\n let set = doc.getDocSet();\n let target = this.docTargetEvaluator(set.clasification, set.clasification_2);\n doc.saveFileWithTarget(target);\n }\n }\n this.count = 0;\n this.max = this.requieredDocs * 25;\n let stopped = false;\n\n await (async() => {\n while(!stopped) {\n await this.sleep(500);\n if(this.uploadedDocs == this.requieredDocs){\n stopped = true;\n }\n this.count += 1;\n if (this.count >= this.max) stopped = true // stop after 10 secs per document cycles\n }\n })();\n\n this.docsSuccess = (this.uploadedDocs == this.requieredDocs && this.failedDocs == 0);\n return this.docsSuccess;\n },\n sleep(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n async getCollections() {\n try {\n let collectionsObjects = ['countriesList', 'statesList', 'banxicoUdis'];\n\n let params = `with[]=${collectionsObjects.join(\"&with[]=\")}`;\n let res = await axios.get(`/api/v1/forms/getFormCollections?${params}`);\n this.collections.countries = res.data.countriesList;\n // this.collections.states = res.data.statesList;\n this.udis = res.data.banxicoUdis.udis;\n\n let slasObjects = ['min_applicant_age', 'max_applicant_age', 'max_first_project_supplier_total_cost_mxn', 'min_financed_amount_mxn', 'max_applicant_pf_financed_amount_udis', 'max_financed_amount_mxn'];\n let slasParams = \"with[]=\" + slasObjects.join(\"&with[]=\");\n let slasRes = await axios.get(`/api/v1/forms/getSlasValues?${slasParams}`);\n this.slas = slasRes.data;\n\n } catch (e) {\n this.warn(e);\n this.failed = true;\n }\n },\n async getClientsList(){\n try{\n let response = await axios.get(`/api/v1/supplier/${this.SupplierId}/getSupplierAvailableClients`);\n this.clientsList = response.data;\n if(this.clientsList.length < 1){\n this.sourceType = this.sourceTypeNew;\n this.canSelectExistingApplicant = false;\n }\n else {\n this.canSelectExistingApplicant = true;\n }\n }\n catch(e) {\n this.warn(e);\n this.failed = true;\n }\n },\n async getSelectField(){\n try{\n let res = await axios.get(\"/api/v1/forms/getSectionFields/\" + this.person_type_section_id);\n this.selectField = res.data.section.fields[0];\n this.formFieldSetter(this.selectField, this, true);\n }\n catch(e) {\n this.warn(e);\n this.failed = true;\n }\n },\n async getFormInfoForPartialCreation(){\n try {\n let c = this.clientsList.find(f => f.id == this.existingApplicantId);\n this.partialCreationClientName = c.fullname;\n this.partialCreationUserId = c.user_id;\n this.payload.person_type = (c.person_type == this.pf_person_type) ? this.pfTypeValue : this.pmTypeValue;\n await this.getFormInfo();\n let doc_id = (c.person_type == this.pf_person_type) ? this.pfFormatDocId : this.pmFormatDocId;\n this.formatDocField = this.documentsFields.find(f => f.documentSet.id == doc_id);\n } catch (error) {\n this.warn(error);\n }\n },\n async getFormInfo(){\n try{\n let formId = null;\n switch (this.payload.person_type) {\n case this.pfTypeValue:\n formId = this.form_id_pfae;\n break;\n case this.pfaeTypeValue:\n formId = this.form_id_pfae;\n break;\n case this.pmTypeValue:\n formId = this.form_id_pm;\n break;\n default:\n break;\n }\n \n let response = await axios.get(\"/api/v1/forms/getFormFields/\" + formId);\n this.form = response.data.flow;\n this.allSections = this.handleFinanciableSection(response.data.sections);\n this.formSections = [];\n this.documentsFields = [];\n\n let url = this.ApiDomain + `/storagev3/documents/form/${formId}`;\n let response2 = await axios.get(url);\n this.documentsStates = response2.data;\n \n let vFieldsCount = 0;\n\n this.allSections.forEach(s => {\n\n if(s.id == 142 || s.id == 143 || s.id == 144 || s.id == 145 || s.id == 146)\n return;\n\n vFieldsCount = 0;\n s.fields.forEach(f => {\n this.formFieldSetter(f, this, true);\n if(this.notDocumentNorPrivate(f)){ vFieldsCount += 1;}\n\n // check for documents\n if(f.doc_id != null){\n\n // if(s.id == 27 && f.doc_id == 23)\n // return;\n\n let ff = {formField: f, documentSet: null };\n let ss = this.documentsStates.find(sid => sid.id == s.id);\n if(ss && ss.documents){\n ff.documentSet = ss.documents.find(d => d.id == f.doc_id);\n }\n this.documentsFields.push(ff);\n }\n })\n\n if(vFieldsCount > 0){\n this.formSections.push(s);\n }\n });\n }\n catch(e){\n this.warn(e);\n this.failed = true;\n }\n },\n handleFinanciableSection(sections){\n if(this.payload.person_type === this.pfTypeValue){\n let section47 = sections.pop();\n sections.unshift(section47);\n }\n return sections;\n },\n goToProject() {\n this.$router.replace({\n name: \"detalleProyecto\",\n params: { id: this.created_id }\n });\n },\n finish(){\n this.$router.replace({\n name: \"misProyectos\"\n });\n },\n onFieldChange(method){\n if(method != null && method in this){\n this[method]();\n }\n },\n evaluateCondition(condition){\n if(condition != null && condition in this){\n return this[condition];\n }\n },\n\n /* obtener ids para los casos correspondientes */\n docTargetEvaluator(cls, cls_2){\n if(this.projectIsCreated){\n if(cls == 'user' && cls_2 == 'applicant'){\n return this.createdProject.client.user.id;\n }\n else if(cls == 'project') {\n return this.created_id;\n }\n }\n this.warn(`DOC TARGET NOT DEFINED FOR classifications: ${cls},${cls_2}`);\n return null;\n },\n\n /* on_change methods */\n async reload_personal_cities(){\n try {\n let sid = this.payload.address$state_id;\n let res = await axios.get(`/api/register/cities/${sid}`);\n this.collections.cities = res.data;\n if(this.isMounted) this.payload.address$city_id = null;\n } catch (e) {\n this.warn(e);\n }\n },\n\n async reload_business_cities(){\n try {\n let sid = this.payload.businessAddress$state_id;\n let res = await axios.get(`/api/register/cities/${sid}`);\n this.collections.cities = res.data;\n if(this.isMounted) this.payload.businessAddress$city_id = null;\n } catch (e) {\n this.warn(e);\n }\n },\n async calculateMaxUdisPF(){\n try {\n let res = await axios.get(`/api/v1/forms/calculateMaxUdisPF`);\n this.maxUdisPF = res.data.max_udis_pf;\n } catch (e) {\n this.warn(e);\n }\n },\n\n /* validaciones especiales */\n validate_client_age_legal(){\n let years = this.calculateAgeFromDate(this.payload.client$birth_date);\n let min = parseInt(this.slas.min_applicant_age);\n let max = parseInt(this.slas.max_applicant_age);\n return years >= min && years <= max;\n },\n client_birthdate_invalid(){\n return `El solicitante debe tener entre ${this.slas.min_applicant_age} y ${this.slas.max_applicant_age} años`;\n },\n\n async validate_client_unique_curp(){\n return await this.validate_unique_curp(this.payload.client$curp, null)\n },\n async validate_owner_unique_curp(){\n return await this.validate_unique_curp(this.payload.owner$curp, null)\n }, \n async validate_client_unique_rfc(){\n return await this.validate_unique_personal_rfc(this.payload.client$rfc, null)\n },\n async validate_owner_unique_rfc(){\n return await this.validate_unique_personal_rfc(this.payload.owner$rfc, null)\n },\n async validate_business_unique_rfc(){\n return await this.validate_unique_business_rfc(this.payload.business$rfc, null)\n },\n\n onDocumentUploadSuccess(){ \n this.uploadedDocs += 1;\n this.succededDocs += 1;\n },\n onDocumentUploadError(){\n this.uploadedDocs += 1;\n this.failedDocs += 1;\n },\n owner_curp_conditions_changed(){\n this.trigger_curp_conditions_changed(\"owner\");\n },\n\n client_curp_conditions_changed(){\n this.trigger_curp_conditions_changed(\"client\");\n },\n\n trigger_curp_conditions_changed(obj){\n let c = this.payload[`${obj}$curp`];\n if(!c){ return; }\n if(c.length >= 10){\n let yy = c.slice(4,6);\n let mm = c.slice(6,8);\n let dd = c.slice(8,10);\n \n let date = this.getDateFromInputs(yy, mm, dd);\n if(date === false){\n this.payload[`${obj}$birth_date`] = null;\n }\n else{\n this.payload[`${obj}$birth_date`] = date;\n }\n }\n else{\n this.payload[`${obj}$birth_date`] = null;\n }\n\n if(c.length >= 11){\n let g = c.slice(10, 11);\n if(g == \"H\"){\n this.payload[`${obj}$gender`] = 1;\n }\n else if(g == \"M\"){\n this.payload[`${obj}$gender`] = 2;\n }\n else{\n this.payload[`${obj}$gender`] = null;\n }\n }\n else{\n this.payload[`${obj}$gender`] = null;\n }\n },\n verify_zip_code_application_address() {\n this.verifyPayloadZipCode(this.payload, {\n addressName: 'address', \n statesArray: 'states_application_address', \n citiesArray: 'cities_application_address', \n neighborhoodsArray: 'neighborhoods_application_address'\n });\n },\n \n verify_zip_code_application_business_address() {\n this.verifyPayloadZipCode(this.payload, {\n addressName: 'businessAddress', \n statesArray: 'states_application_business_address', \n citiesArray: 'cities_application_business_address', \n neighborhoodsArray: 'neighborhoods_application_business_address'\n });\n },\n async validate_identity_verification(){\n this.statusMetamap = await this.getUserIdentityStatus(this.current_user_id);\n this.identityIsCompleted = this.verificationIsCompleted(this.statusMetamap);\n\n return this.identityIsCompleted;\n },\n async validate_identity_verification_error(){\n if(!this.identityIsCompleted){\n return \"La verificación de identidad con Mati no ha sido completada.\";\n }\n },\n\n async doRequestCDCNip(isWhatsapp = false)\n {\n try {\n const res = await axios.post(`/api/v2/projects/${this.UserId}/send-cdc-nip?whatsapp=${isWhatsapp}`);\n this.nipIsCreated = true;\n if(!this.showWhatsapp) {\n this.initNipCounter(30);\n }\n this.saveSuccessNotif(null, `Te hemos enviado un código por mensaje de texto al siguiente número: ${this.payload.country_calling_code} ${this.anonymousFormatPhone(this.payload.client$phone)}`);\n this.nipCounter++;\n } catch (error) {\n this.warn(error);\n }\n },\n\n initNipCounter() {\n let timer = setInterval(() => {\n --this.whatsappTime;\n if(this.whatsappTime == 0){\n this.showWhatsapp = true;\n clearInterval(timer);\n }\n }, 1000);\n },\n\n async doAuthorizationCDC()\n {\n try {\n this.showLoading(true, \"Gracias por autorizar la consulta, en breve tendremos una respuesta para ti...\");\n const payload = {\n user_id: this.current_user_id\n , verification_code: this.cdcPayload.verification_code\n , project_id: this.created_id\n };\n const res = await axios.post(`/api/v2/projects/authorize-cdc-request`, payload);\n // console.log(res);\n if(!res.success){\n this.nipIsCreated = false;\n let error = res.data.error;\n this.missingFieldsNotif(null, error);\n this.showLoading(false);\n } else {\n this.showLoading(false);\n this.formSubmitted();\n }\n } catch (error) {\n this.showLoading(false);\n this.formSubmittedExpress();\n }\n },\n async saveGroupChanges(){\n return await new Promise(async (resolve, reject) => {\n let result = await this.runValidations(true);\n if(!result){\n this.missingFieldsNotif();\n reject(\"\");\n } else {\n // Mandar a guardar para disparar la validación con Metamap\n let loadingMessage = \"Actualizando información del cliente, por favor no recargues la página...\";\n // this.showLoading(true, loadingMessage);\n let payload = this.packNested(this.payload);\n\n if(this.objectIsEmpty(payload)){\n this.saveSuccessNotif(\"Operación exitosa\"\n , \"Información actualizada correctamente. ¡No olvides enviar la solicitud completa! Una vez que concluyas con el proceso, da clic en el botón “Enviar solicitud completa†en el detalle del proyecto para concluir con el proceso.\"\n , 6000);\n }\n\n try {\n // ejecutar guardado\n await axios.put(`/api/v2/projects/${this.current_user_id}/deepUpdatePersonal`, payload);\n this.personalUpdated = true;\n resolve(true);\n this.showLoading(false);\n this.saveSuccessNotif(\"Operación exitosa\"\n , \"Información actualizada correctamente. ¡No olvides enviar la solicitud completa! Una vez que concluyas con el proceso, da clic en el botón “Enviar solicitud completa†en el detalle del proyecto para concluir con el proceso.\"\n , 6000);\n this.identityVerificationHasExpired = true;\n }\n catch (error) {\n this.showLoading(false);\n console.log(error);\n this.failedOperationNotif(null, null);\n }\n\n this.loading = false;\n }\n }); \n },\n async validate_client_unique_phone() {\n return true; //ddimas\n if (this.requestTypeSelected == 0) {\n try {\n const payload = {\n phone: this.payload.client$phone\n };\n \n const res = await axios.post(`/api/v1/forms/validate-unique-phone`, payload);\n this.uniquePhoneResponse = res.data;\n let flag = !this.uniquePhoneResponse.phone_exists; \n \n if (!flag && this.uniquePhoneResponse.user_id == this.current_user_id) {\n flag = true;\n }\n return flag;\n } catch (error) {\n console.log(error);\n return false;\n }\n }\n return true;\n },\n validate_client_unique_phone_error() {\n const roles = this.uniquePhoneResponse.roles;\n let txt = \"Parece que el teléfono que proporcionaste ya está registrado, por favor ponte en contacto con nosotros a través del Chat para revisar tu caso.\"\n for (let index = 0; index < roles.length; index++) {\n const element = roles[index];\n \n if(element == \"client\") {\n txt = \"Este teléfono ya pertenece a otro Solicitante, por favor ponte en contacto con nosotros a través del Chat para revisar tu caso.\";\n } \n \n if(element == \"supplier\" || element == \"supplier_agent\") {\n txt = \"Ya tenemos registrado este teléfono y no pertenece al Solicitante. Por favor introduce el teléfono del Solicitante.\";\n }\n }\n\n return txt;\n },\n askForIdentityVerification(){\n this.$vs.dialog({\n color: \"warning\",\n type: \"confirm\",\n title: \"El siguiente paso\",\n text: `Hemos generado la pre-solcitud con ID <<${this.created_id}>> y la puedes consultar desde tu lista de proyectos. \n Para la solicitud exprés necesitamos que el solicitante realice la verificación de identidad con Metamap, ¿deseas realizarla en este momento? Realizarla acelera el proceso para la aprobación del crédito.`,\n acceptText: \"SÃ, realizar la verificación de identidad\",\n cancelText: 'No, en otro momento',\n accept: this.doContinueWithIdentityVerification,\n });\n },\n doContinueWithIdentityVerification () {\n this.needIdentityVerification = true;\n },\n showFormFields(dbField) {\n if(!this.applicant_is_pf) {\n if(\n dbField === \"total_cost\" ||\n dbField === \"phone\" ||\n dbField === \"country_calling_code\" ||\n dbField === \"email\" ||\n dbField === \"first_name\" ||\n dbField === \"second_name\" ||\n dbField === \"last_name_1\" ||\n dbField === \"last_name_2\" ||\n dbField === \"name\" ||\n dbField === \"rfc\"\n ) {\n return true;\n }\n } else {\n if(\n dbField === \"total_cost\" ||\n dbField === \"phone\" ||\n dbField === \"country_calling_code\" ||\n dbField === \"email\" ||\n dbField === \"first_name\" ||\n dbField === \"second_name\" ||\n dbField === \"last_name_1\" ||\n dbField === \"last_name_2\" \n ) {\n return true;\n }\n }\n return false;\n }\n }\n};\n</script>\n<style >\n .rg-title {\n font-size: 3rem !important;\n }\n #notification .vs-popup--header {\n background: #28DE18 !important;\n }\n #notification .vs-popup--header .vs-popup--title h3{\n color: #fff !important;\n }\n\n .vs-radio--label {\n line-height: 2 !important;\n }\n</style>","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!./PreProject.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!./PreProject.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PreProject.vue?vue&type=template&id=0a882d61&\"\nimport script from \"./PreProject.vue?vue&type=script&lang=js&\"\nexport * from \"./PreProject.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PreProject.vue?vue&type=style&index=0&id=0a882d61&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',{attrs:{\"id\":\"landing-preproject\"}},[_c('compliance-banner',{staticClass:\"mb-6 text-align-left\"}),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full align-center\"},[_c('vx-card',{staticClass:\"sm:p-base\"},[_c('div',{staticClass:\"text-xl black sm:mb-base md:mb-20\"},[_c('p',{staticClass:\"mb-4\"},[_vm._v(\" Ahora tus clientes pueden generar sus propias solicitudes de crédito. \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"Ya no es necesario que tú crees el proyecto por ellos.\")])]),_c('p',{staticClass:\"mb-base\"},[_vm._v(\" Comparte tu código a tus clientes y se te asignará automáticamente el proyecto cuando hagan su solicitud. \")])]),_c('div',{staticClass:\"vx-row black mb-base\"},[_c('div',{staticClass:\"step md:w-1/3 sm:w-full vx-col mb-base\"},[_c('h2',{staticClass:\"mb-base\"},[_vm._v(\"1. Comparte\")]),_c('img',{staticClass:\"mb-base\",staticStyle:{\"width\":\"20rem\"},attrs:{\"src\":`${_vm.StorageURL}/suppliers/resources/Comparte.png`,\"alt\":\"Comparte\"}}),_c('p',{staticClass:\"mt-16 text-lg\"},[_vm._v(\"EnvÃa el código a tu cliente.\")])]),_c('div',{staticClass:\"step md:w-1/3 sm:w-full vx-col mb-base\"},[_c('h2',{staticClass:\"mb-base\"},[_vm._v(\"2. Solicita\")]),_c('img',{staticClass:\"mb-base\",staticStyle:{\"width\":\"10rem\"},attrs:{\"src\":`${_vm.StorageURL}/suppliers/resources/Solicita.png`,\"alt\":\"Solicita\"}}),_c('p',{staticClass:\"mt-12 text-lg\"},[_vm._v(\"El proyecto se te asignará automáticamente \"),_c('br'),_vm._v(\" cuando tu cliente complete la solicitud. \")])]),_c('div',{staticClass:\"step md:w-1/3 sm:w-full vx-col mb-base\"},[_c('h2',{staticClass:\"mb-base\"},[_vm._v(\"3. Complementa\")]),_c('img',{staticClass:\"mb-base\",staticStyle:{\"width\":\"10rem\"},attrs:{\"src\":`${_vm.StorageURL}/suppliers/resources/Complementa.png`,\"alt\":\"Complementa\"}}),_c('p',{staticClass:\"mt-12 text-lg\"},[_vm._v(\"Complementa la información de instalación \"),_c('br'),_vm._v(\" cuando se te asigne el proyecto. \")])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full text-left\"},[_c('div',{staticClass:\"flex\"},[_c('vs-button',{staticClass:\"mr-4\",attrs:{\"disabled\":!_vm.SessionLocationRegistered,\"icon-pack\":\"feather\",\"icon\":\"icon-share\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.sendWPP.apply(null, arguments)}}},[_vm._v(\"Compartir\")]),_c('vs-button',{attrs:{\"disabled\":!_vm.SessionLocationRegistered,\"icon-pack\":\"feather\",\"icon\":\"icon-copy\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.myFunction.apply(null, arguments)}}},[_vm._v(\"Copiar\")])],1),_c('br'),(!_vm.SessionLocationRegistered)?_c('small',[_vm._v(\"Para continuar, debes permitir a RedGirasol el acceso a tu ubicación.\")]):_vm._e()])])])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div id=\"landing-preproject\">\n <compliance-banner class=\"mb-6 text-align-left\"/>\n <div class=\"vx-row\">\n <div class=\"vx-col w-full align-center\">\n <vx-card class=\"sm:p-base\">\n <div class=\"text-xl black sm:mb-base md:mb-20\">\n <p class=\"mb-4\">\n Ahora tus clientes pueden generar sus propias solicitudes de crédito. <span class=\"bold\">Ya\n no es necesario que tú crees el proyecto por ellos.</span>\n </p>\n <p class=\"mb-base\">\n Comparte tu código a tus clientes y se te asignará automáticamente el proyecto cuando hagan\n su solicitud.\n </p>\n </div>\n <div class=\"vx-row black mb-base\">\n <div class=\"step md:w-1/3 sm:w-full vx-col mb-base\">\n <h2 class=\"mb-base\">1. Comparte</h2>\n <img style=\"width: 20rem;\" class=\"mb-base\"\n :src=\"`${StorageURL}/suppliers/resources/Comparte.png`\" alt=\"Comparte\">\n <p class=\"mt-16 text-lg\">EnvÃa el código a tu cliente.</p>\n </div>\n <div class=\"step md:w-1/3 sm:w-full vx-col mb-base\">\n <h2 class=\"mb-base\">2. Solicita</h2>\n <img style=\"width: 10rem;\" class=\"mb-base\"\n :src=\"`${StorageURL}/suppliers/resources/Solicita.png`\" alt=\"Solicita\">\n <p class=\"mt-12 text-lg\">El proyecto se te asignará automáticamente <br> cuando tu cliente complete\n la solicitud. </p>\n </div>\n <div class=\"step md:w-1/3 sm:w-full vx-col mb-base\">\n <h2 class=\"mb-base\">3. Complementa</h2>\n <img style=\"width: 10rem;\" class=\"mb-base\"\n :src=\"`${StorageURL}/suppliers/resources/Complementa.png`\" alt=\"Complementa\">\n <p class=\"mt-12 text-lg\">Complementa la información de instalación <br> cuando se te asigne el\n proyecto. </p>\n </div>\n </div>\n <div class=\"vx-row\">\n <div class=\"vx-col w-full text-left\">\n <div class=\"flex\">\n <vs-button :disabled=\"!SessionLocationRegistered\" @click.stop=\"sendWPP\" icon-pack=\"feather\" icon=\"icon-share\" class=\"mr-4\">Compartir</vs-button>\n <vs-button :disabled=\"!SessionLocationRegistered\" @click.stop=\"myFunction\" icon-pack=\"feather\" icon=\"icon-copy\">Copiar</vs-button>\n </div>\n <br><small v-if=\"!SessionLocationRegistered\">Para continuar, debes permitir a RedGirasol el acceso a tu ubicación.</small>\n </div>\n </div>\n </vx-card>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport ComplianceBanner from '@components/compliance/ComplianceBanner';\nexport default {\n name: \"LandingPreProject\",\n data: () => ({\n }),\n components: {\n ComplianceBanner\n },\n props: {\n source: String\n },\n computed: {\n supplierReferredUrl() {\n return `${this.AppDomain}/registro/solicitante?r=${this.SupplierReferralCode}`;\n },\n messageWpp() {\n return `Solicita tu Crédito Solar en RedGirasol *obtén financiamiento para tus paneles solares* para tu casa o negocio. Aprovecha la energÃa del sol y *ahorra hasta 95% de tu recibo de luz*.\n %0A\n %0AEmpieza tu registro aquÃ: ${this.supplierReferredUrl}`;\n },\n message() {\n return `Solicita tu Crédito Solar en RedGirasol *obtén financiamiento para tus paneles solares* para tu casa o negocio. Aprovecha la energÃa del sol y *ahorra hasta 95% de tu recibo de luz*.\n\nEmpieza tu registro aquÃ: ${this.supplierReferredUrl}`;\n }\n },\n methods: {\n myFunction() {\n // Copy the text inside the text field\n navigator.clipboard.writeText(this.message);\n\n this.saveSuccessNotif(null, \"Texto copiado correctamente.\");\n },\n async sendWPP() {\n window.open(`https://wa.me/?text=${this.messageWpp}`, \"_blank\")\n },\n }\n}\n</script>\n\n<style scoped>\n.step {\n text-align: center;\n text-align: -webkit-center;\n}\n</style>","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!./PreProjectLandingPage.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!./PreProjectLandingPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PreProjectLandingPage.vue?vue&type=template&id=8a30a1fe&scoped=true&\"\nimport script from \"./PreProjectLandingPage.vue?vue&type=script&lang=js&\"\nexport * from \"./PreProjectLandingPage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PreProjectLandingPage.vue?vue&type=style&index=0&id=8a30a1fe&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 \"8a30a1fe\",\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"supplier\">\n <!-- <pre-project></pre-project> -->\n <PreProjectLandingPage></PreProjectLandingPage>\n </div>\n</template>\n\n<script>\nimport { mapState } from \"vuex\";\nimport PreProject from '@components/supplier/projects/PreProject.vue'\nimport PreProjectLandingPage from \"@components/supplier/projects/PreProjectLandingPage.vue\";\nexport default {\n name: \"preproject-page\",\n data() {\n return {\n project: \"nuevo\",\n status: \"\",\n allowed: null,\n loading: false,\n };\n },\n components: {\n PreProject,\n PreProjectLandingPage\n },\n computed: {\n ...mapState(\"auth\", [\"user\"]),\n userId: function() {\n return this.user === null ? 0 : this.user.user_id;\n },\n supplierStatus: function() {\n return this.user === null ? 0 : this.user.supplier_status;\n }\n }\n};\n</script>\n\nallowed=\"{{$data['verified']}}\"","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!./PreprojectPage.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!./PreprojectPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PreprojectPage.vue?vue&type=template&id=570e7bdb&\"\nimport script from \"./PreprojectPage.vue?vue&type=script&lang=js&\"\nexport * from \"./PreprojectPage.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","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-02.3e4419b5.jpg\";","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!./PreProject.vue?vue&type=style&index=0&id=0a882d61&prod&lang=css&\"","module.exports = __webpack_public_path__ + \"img/201219_TUTORIAL-06.8c3b25ca.jpg\";"],"sourceRoot":""}