1import{d as P,f as E,an as L,h as U,s as f,W as h,c,g as w,o as s,a as d,j as t,Q as v,R as x,k as y,w as b,e,b as T,l as A,m as R,t as O}from"./DIRkIRWB.js";import{S}from"./Cd76Yl2q.js";import{_ as q}from"./rnE1g2z2.js";import{_ as D}from"./CrhjFQvB.js";import{O as G}from"./hcgo3rj9.js";import{_ as M}from"./BySLqogL.js";import{u as j,r as Q}from"./DNIKRDet.js";import{E as W}from"./CNdBWQpv.js";import"./P6pD3OVm.js";import"./BvHRGukz.js";import"./C0d0QLjF.js";import"./BxBvvXoE.js";import"./DE3IOLBM.js";import"./ZeFnSFAq.js";import"./D6dOeW3N.js";import"./DlAUqK2U.js";import"./2TN7lK7Z.js";import"./B5swVPgF.js";import"./D6KHMK8g.js";const z={class:"flex flex-col gap-6"},H={class:"grid gap-4"},J=t("span",{class:"text-black leading-none font-medium px-4"},"Meeting Point",-1),K={class:"grid grid-cols-3 gap-4"},X={class:"grid gap-4"},Y=t("span",{class:"text-black leading-none font-medium px-4"},"Category",-1),Z={class:""},ee={class:"text-red-400"},te=t("hr",null,null,-1),oe={class:"grid gap-4"},se=t("span",{class:"text-black leading-none font-medium px-4"},"Incall Setup",-1),ae=t("hr",null,null,-1),re=t("div",{class:"grid gap-2.5"},[t("span",{class:"text-black leading-none font-medium px-4"},"Outcall Setup"),t("p",{class:"px-4 text-xs text-dark-grey leading-6"},"After publishing your profile, if you purchase a GOLD profile, you will have option to add outcall location."),t("p",{class:"px-4 text-xs text-dark-grey leading-6"},"The faultier allows you to specify additional locations where you are available to increase your visibility and attract more potential clients.")],-1),Be=P({__name:"location",setup(ne){const{t:p}=E(),V=L(),k=U(),{formState:n,formValidation:i}=f(k),B=S.meetingPointListOnboarding(),I=S.escortTypeListOnboarding(),{onboardingMeta:$}=f(V);$.value={step:G.LOCATION,title:"Meeting Point",description:"Please specify your preferences regarding the meeting point.",progress:40,backButtonUrl:h.ONBOARDING,nextButtonUrl:h.ONBOARDING_ABOUT,nextButtonText:c(()=>p("account.onboard.continue")).value};const N=c(()=>I.value.map(r=>({value:r.id,label:r.title}))),C=c({get(){return n.value.userInformation.escortType},set(r){n.value.userInformation.escortType=r}}),F=w({escortType:C}),a=j({escortType:{required:Q}},F);return i.value.hasFormErrors=c(()=>a.value.$invalid),(r,u)=>{var g,_;return s(),d("div",z,[t("div",H,[J,t("div",K,[(s(!0),d(v,null,x(e(B),(o,l)=>(s(),y(e(q),{customLabelClass:"p-3",id:`meeting-point-${l}`,name:"meetingPoint",value:o.id,modelValue:e(n).userInformation.meetingPoint,"onUpdate:modelValue":m=>e(n).userInformation.meetingPoint=m},{default:b(()=>[R(O(o.title),1)]),_:2},1032,["id","value","modelValue","onUpdate:modelValue"]))),256))])]),t("div",X,[Y,t("div",Z,[T(e(M),{"select-options":N.value,modelValue:e(a).escortType.$model,"onUpdate:modelValue":u[0]||(u[0]=o=>e(a).escortType.$model=o),"has-error":e(i).isFormSubmitted&&((_=(g=e(a).escortType)==null?void 0:g.required)==null?void 0:_.$invalid)},null,8,["select-options","modelValue","has-error"]),e(i).isFormSubmitted&&e(i).hasFormErrors?(s(),y(e(W),{key:0},{default:b(()=>{var o,l;return[(s(!0),d(v,null,x([(l=(o=e(a).escortType)==null?void 0:o.required)!=null&&l.$invalid?e(p)("login.memberTypeRequired"):null],m=>(s(),d("span",ee,O(m),1))),256))]}),_:1})):A("",!0)])]),te,t("div",oe,[se,T(e(D))]),ae,re])}}});export{Be 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.