import{u as s}from"./useProduct-UliD-EUX.js";import{e as r}from"./cookies-BWmrPvHV.js";import{u as p}from"./AppProvider-Eqvsenxp.js";const h=()=>{const{app:{baseUrl:l}}=s(),o=r();return(a,t)=>{o(`${l}${a}`,t)}},u={"4-week-keep":"fields.weight_to_keep.options.0-4.label","8-week-keep":"fields.weight_to_keep.options.4-8.label","4-week":"fields.weight_to_lose.options.0-4.label","8-week":"fields.weight_to_lose.options.4-8.label"},T=[{label:"fields.have_diabetes.label",name:"have_diabetes",version:["v1","v2"],inputType:"option"},{label:"fields.hypertension.label",name:"hypertension",version:["v1","v2"],inputType:"option"},{label:"fields.cholesterol.label",name:"cholesterol",version:["v1","v2"],inputType:"option"},{label:"fields.relevant_diseases.label",name:"relevant_diseases",version:["v1","v2"],inputType:"option"},{label:"fields.pregnant.label",name:"pregnant",version:["v1"],gender:"female",inputType:"option"},{label:"fields.breastfeeding.label",name:"breastfeed",version:["v2"],inputType:"option",gender:"female",options:[{label:"fields.breastfeeding.options.yes.label_no_exclusive",value:"non-exclusive"},{label:"fields.breastfeeding.options.no.label_exclusive",value:"exclusive"},{label:"common.no",value:"none"}]},{label:"fields.diet_type.label",name:"diet_type",version:["v2"],inputType:"option",options:[{label:"fields.diet_type.options.omnivorous.label",value:"omnivorous"},{label:"fields.diet_type.options.vegetarian.label",value:"vegetarian"},{label:"fields.diet_type.options.vegan.label",value:"vegan"}]},{label:"fields.gluten_allergy.label",name:"gluten_allergy",version:["v1","v2"],inputType:"option"},{label:"fields.lactose_intolerance.label",name:"lactose_intolerance",version:["v1","v2"],inputType:"option"},{label:"fields.lifestyle.label",name:"lifestyle",version:["v1"],inputType:"option",options:[{label:"fields.lifestyle.options.sedentary.label",value:"sedentary"},{label:"fields.lifestyle.options.moderate.label",value:"moderate"},{label:"fields.lifestyle.options.high.label",value:"active"}]},{label:"fields.weekly_exercise.label",name:"weekly_exercise",version:["v2"],inputType:"option",options:[{label:"fields.weekly_exercise.options.0_1.label",value:"0-1"},{label:"fields.weekly_exercise.options.1_2.label",value:"1-2"},{label:"fields.weekly_exercise.options.2_3.label",value:"2-3"},{label:"fields.weekly_exercise.options.3_4.label",value:"3-4"},{label:"fields.weekly_exercise.options.>_4.label",value:">4"}]}],k=[{label:"fields.feeling.label",name:"feeling",version:["v1","v2"],types:["welcome","start","follow-up","suggestion","reward","documentation"],inputType:"option",options:[{label:"fields.feeling.options.good.label",value:"good"},{label:"fields.feeling.options.regular.label",value:"regular"},{label:"fields.feeling.options.bad.label",value:"bad"}]},{label:"fields.rate_program.label",name:"rate_program",version:["v1","v2"],types:["finish"],inputType:"option",options:[{label:"fields.rate_program.options.very_useful.label",value:"very_useful"},{label:"fields.rate_program.options.useful.label",value:"useful"},{label:"fields.rate_program.options.unhelpful.label",value:"unhelpful"}]},{label:"fields.workout_routine.label",name:"workout_routine",version:["v1","v2"],inputType:"option",options:[{label:"common.yes",value:"yes"},{label:"common.no",value:"no"},{label:"fields.workout_routine.options.sometimes.label",value:"sometimes"}]},{label:"fields.follow_diet.label",name:"follow_diet",version:["v1","v2"],inputType:"option",options:[{label:"common.yes",value:"yes"},{label:"common.no",value:"no"},{label:"fields.workout_routine.options.sometimes.label",value:"sometimes"}]},{label:"fields.weight_losed.label",name:"weight_losed",version:["v1","v2"],inputType:"option",options:[{label:"common.yes",value:"weight_losed_yes"},{label:"common.no",value:"weight_losed_no"}]},{label:"fields.current_weight.label",name:"current_weight",version:["v1","v2"],inputType:"text"},{label:"fields.comments.label",name:"comments",version:["v1","v2"],inputType:"textarea",types:["finish"],required:!1}];function S(){const{t:l}=p();return{formatGender:e=>l(`fields.gender.options.${e}.label`),formatGenderIdentity:e=>l(`fields.gender_identity.options.${e}.label`),formatCountry:e=>l(`static-data-countries.${e}`),formatRelationship:e=>l(`fields.relation_type.options.${e}.label`),formatStatus:e=>l(`consultations.status.${e}`),formatChannel:e=>l(`common.channel.${e}`),formatServiceType:e=>l(`${e}.title`),formatSpecialty:e=>l(`fields.specialty.options.${e}`),formatSpecialtyType:e=>l(`static-data-emo-specialty-types.${e}`),formatLocale:e=>l(`locales.${e}.long`),formatGFPPrograms:e=>e.length?e.map(i=>({label:l(u[i]),value:i})):[]}}export{k as F,T as Q,S as a,h as u};
