1import{d as B,L as U,at as P,m as f,K as $,u as D,bI as b,r as d,o as i,c as p,w as _,b as r,y as L,a as v,e as o,f as N,t as T,ac as j,_ as M}from"./index-B4L6RpWj.js";import{h as z}from"./index-DgSAHBKg.js";const F={class:"container-card__buttons"},K=B({__name:"index",setup(O){const s=U(),e=P(s.getInvestor()),m=f(()=>s.getCountries().map(t=>({...t,image:`https://d2hrlmxirjtto6.cloudfront.net/flags/${t.country}.png`,active:!!(e.country&&t.id===e.country)}))),y=f(()=>s.getCountries());$(async()=>{m.value.length||s.loadCountries(),await s.loadInvestorDetails()});const{t:l}=D({useScope:"global"}),g={tag:"h5",i18n:"sections.personalInformation.titleContact"},h=t=>{e.state=t.value},S=t=>{e.country=t.id},V=t=>{e.phone_prefix=t.prefix},w=Object.keys(b).map(t=>({name:b[t],value:t})),C=async()=>{};return(t,n)=>{const x=d("oui-phone"),c=d("oui-autocomplete"),u=d("oui-input"),I=d("oui-button"),k=d("oui-card");return i(),p(k,{class:"container-card ff-form-card"},{default:_(()=>[r(z,L({"display-image":!1},g,{class:"container-card__heading"}),null,16),v("form",{class:"container-card__form",onSubmit:j(C,["prevent"])},[(i(),p(x,{key:`phone-${o(s).getCountries().length}-${e.phone_number}`,"model-value-country":e.phone_prefix,"model-value-phone":e.phone_number,options:y.value,label:o(l)("personalData.form.phone"),placeholder:o(l)("personalData.form.phoneLabel"),variant:"fellow-funders",disabled:!0,onSelectItem:V,"onUpdate:modelValuePhone":n[0]||(n[0]=a=>e.phone_number=a)},null,8,["model-value-country","model-value-phone","options","label","placeholder"])),(i(),p(c,{key:`country-select-${o(s).getCountries().length}-${e.country}`,"model-value":e.country?e.country.toString():"",variant:"fellow-funders",label:o(l)("investorStep3.form.country"),options:m.value,"track-by":"description","match-by":"id",disabled:!0,onSelectItem:S},null,8,["model-value","label","options"])),r(u,{modelValue:e.road_type,"onUpdate:modelValue":n[1]||(n[1]=a=>e.road_type=a),label:o(l)("investorLegalStep5.form.roadType"),class:"page__wrapper__content__input",variant:"fellow-funders",disabled:!0},null,8,["modelValue","label"]),r(u,{modelValue:e.address,"onUpdate:modelValue":n[2]||(n[2]=a=>e.address=a),label:o(l)("investorStep3.form.address"),variant:"fellow-funders",disabled:!0},null,8,["modelValue","label"]),r(u,{modelValue:e.postal_code,"onUpdate:modelValue":n[3]||(n[3]=a=>e.postal_code=a),label:o(l)("investorStep3.form.postalCode"),variant:"fellow-funders",disabled:!0},null,8,["modelValue","label"]),e.country===724?(i(),p(c,{key:0,"model-value":e.state,label:o(l)("investorStep3.form.state"),options:o(w),"track-by":"name",width:"auto",variant:"fellow-funders",disabled:!0,onSelectItem:h},null,8,["model-value","label","options"])):(i(),p(u,{key:1,modelValue:e.state,"onUpdate:modelValue":n[4]||(n[4]=a=>e.state=a),label:o(l)("investorStep3.form.state"),variant:"fellow-funders",disabled:!0},null,8,["modelValue","label"])),r(u,{modelValue:e.town,"onUpdate:modelValue":n[5]||(n[5]=a=>e.town=a),label:o(l)("investorStep3.form.town"),variant:"fellow-funders",disabled:!0},null,8,["modelValue","label"]),v("div",F,[r(I,{variant:"fellow-funders",type:"submit",size:"large",class:"container-card__buttons__button",disabled:!0},{default:_(()=>[N(T(o(l)("sections.editProfile.saveChangesButton")),1)]),_:1})])],32)]),_:1})}}}),E=M(K,[["__scopeId","data-v-3a49b94b"]]);export{E as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.