const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Popup-D_SeLUeJ.css","./vendor-vue3-toastify-DHXAGmwn.css","./vendor-vue3-html2pdf-DBfPfU4j.css","./UserLocation-Dz3Aaw2d.css","./ProBadge-Bh7l2BmQ.css","./Button-nVDREZcB.css","./TwoPoints-Bw32e08j.css","./MultiplyLocation-XddPSWdW.css"])))=>i.map(i=>d[i]);
import{_ as l}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{u as L}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as P}from"./useAppearanceTypography-BBl5RU11.js";import{d as V,e as c,$ as n,f as i,i as t,x as a,t as s,z as x,k as T,v as A}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as e,t as D}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as d,a as R}from"./vendor-vue-shared-DrzsEcag.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";const g={class:"ccb-field__label"},q={class:"ccb-field__title"},B={key:0,class:"ccb-field-required-mark"},I={key:0,class:"ccb-field__hidden"},N={key:0,class:"ccb-field__descriptions ccb-before"},O={key:0,class:"ccb-field__description"},w={class:"ccb-field__input-wrapper"},z={key:1,class:"ccb-field__descriptions ccb-after"},S={key:0,class:"ccb-field__description"},W=V({__name:"Geolocation",props:{field:{}},setup(p){L(r=>({"5a5e96ad":e(b),"61a0ad4e":e(m),"7ca1e54b":e(y),"1ea9c120":e(v),"00e5b7fd":e(f)}));const{borderColor:m,formFieldsColor:f,textColor:b,accentColor:v,containerColor:y}=P(),C=p,{field:o}=D(C),k=c(()=>o.value.geoType),h=c(()=>!1),E=c(()=>{const r=k;return r.value==="userLocation"?n(()=>l(()=>import("./UserLocation-DUwp2AcJ.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)):r.value==="twoPointLocation"?n(()=>l(()=>import("./TwoPoints-DqJ3jMOs.js"),__vite__mapDeps([0,4,5,1,2,6]),import.meta.url)):r.value==="multiplyLocation"?n(()=>l(()=>import("./MultiplyLocation-D_u0Qps9.js"),__vite__mapDeps([0,4,5,1,2,7]),import.meta.url)):""}),_=c(()=>o.value.additionalStyles||"");return(r,u)=>(t(),i("div",{class:R(["ccb-field ccb-field-geolocation",{required:h.value,"ccb-field-disabled":e(o).disabled,[_.value]:_.value}])},[a("div",g,[a("div",q,[x(d(e(o).label),1),e(o).required?(t(),i("span",B,"*")):s("",!0)]),e(o).hidden?(t(),i("div",I,u[0]||(u[0]=[a("i",{class:"ccb-icon-ic_eye_crossed"},null,-1)]))):s("",!0)]),e(o).descriptionPosition==="before"?(t(),i("div",N,[e(o).description?(t(),i("div",O,d(e(o).description),1)):s("",!0)])):s("",!0),a("div",w,[(t(),T(A(E.value),{alias:e(o).alias,field:e(o)},null,8,["alias","field"]))]),e(o).descriptionPosition==="after"?(t(),i("div",z,[e(o).description?(t(),i("div",S,d(e(o).description),1)):s("",!0)])):s("",!0)],2))}});export{W as default};
//# sourceMappingURL=Geolocation-DSugRsji.js.map
