const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./widget-DZZgQDKu.css","./index-DBfPfU4j.css","./ThankYouPage-CMGrCKP5.css","./UserLocation-UVz5AIoR.css","./TwoPoints-Ls-KVG5l.css","./MultiplyLocation-CZutVPO_.css"])))=>i.map(i=>d[i]);
import{a as S,C as q,b as a,e as n,_ as l,m as o,g as s,p as d,q as r,f,L as C,n as D,D as _,u as i,r as L,I as T}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{c as x,u as A,a as E}from"./widget-BUAABBRb.js";import{c as P}from"./ThankYouPage-bf4cLsjC.js";import{_ as V}from"./RequiredHint.vue_vue_type_style_index_0_lang-R4Bqx90z.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./translationsStore-DBJu9sBR.js";import"./index-CEuXXsrq.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const R={class:"ccb-field__label"},B={class:"ccb-field__title"},I={key:0,class:"ccb-field-required-mark"},N={key:0,class:"ccb-field__descriptions ccb-before"},O={key:0,class:"ccb-field__description"},w={class:"ccb-field__input-wrapper"},F={key:1,class:"ccb-field__descriptions ccb-after"},W={key:0,class:"ccb-field__description"},U=S({__name:"Geolocation",props:{field:{}},setup(v){const b=x(),g=v,{field:e}=q(g),u=A(),y=a(()=>{var c;return((c=E().getWarningTexts)==null?void 0:c.requiredMsg)||""}),k=a(()=>{var t;return(t=e.value)==null?void 0:t.geoType}),p=a(()=>b.checkFieldRequired(e.value)),h=a(()=>{const t=k;return t.value==="userLocation"?n(()=>l(()=>import("./UserLocation-DuccriPf.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)):t.value==="twoPointLocation"?n(()=>l(()=>import("./TwoPoints-M19Emq0x.js"),__vite__mapDeps([0,1,2,4]),import.meta.url)):t.value==="multiplyLocation"?n(()=>l(()=>import("./MultiplyLocation-CgwPZ4kK.js"),__vite__mapDeps([0,1,2,5]),import.meta.url)):""}),m=a(()=>{var t;return((t=e.value)==null?void 0:t.additionalStyles)||""});return(t,c)=>(s(),o("div",{class:T(["ccb-field ccb-field-geolocation",{required:p.value,"ccb-field-disabled":i(e).disabled,[m.value]:m.value}])},[d("div",R,[p.value?(s(),f(V,{key:0,text:y.value},null,8,["text"])):r("",!0),d("div",B,[C(_(i(e).label),1),i(e).required?(s(),o("span",I,"*")):r("",!0),D(P)])]),i(u).getAppearanceDescriptionPosition==="before"?(s(),o("div",N,[i(e).description?(s(),o("div",O,_(i(e).description),1)):r("",!0)])):r("",!0),d("div",w,[(s(),f(L(h.value),{alias:i(e).alias,field:i(e)},null,8,["alias","field"]))]),i(u).getAppearanceDescriptionPosition==="after"?(s(),o("div",F,[i(e).description?(s(),o("div",W,_(i(e).description),1)):r("",!0)])):r("",!0)],2))}});export{U as default};
//# sourceMappingURL=index-BtQDfmEb.js.map
