import{k as m}from"./JQJBiNWj.js";function V(u,r){m([r,u],()=>{r.value&&l(r.value)},{immediate:!0});function l(n,s=""){for(const e of Object.keys(n)){const t=n[e],o=s?s+"."+e:e;if(typeof t!="object"||t===void 0||t===null||t instanceof Date||Array.isArray(t)){y(o,n[e]);continue}else l(t,o)}}function y(n,s){var e,t,o,d,a,F,i,f;try{(t=(e=u.value)==null?void 0:e.setFieldValue)==null||t.call(e,n,s)}catch(c){(d=(o=c==null?void 0:c.stack)==null?void 0:o.includes)!=null&&d.call(o,`TypeError: Cannot set properties of undefined (setting 'value')
    at Proxy.setFieldValue2`)&&((F=(a=u.value)==null?void 0:a.register)==null||F.call(a,n),(f=(i=u.value)==null?void 0:i.setFieldValue)==null||f.call(i,n,s))}}}export{V as u};
