function o(t,e){let r=e;return typeof e=="string"&&(r=e.split(".")),r.every(n=>typeof t!="object"||t===null||!(n in t)?!1:(t=t[n],!0))}function u(t,e,r){let n=e;typeof e=="string"&&(n=e.split("."));const f=n.length-1;for(let i=0;i<f;++i){const s=n[i];t=t[s]??(t[s]={})}const l=n[f];t[l]=r}function p(t,e){return Object.fromEntries(Object.entries(t).map(([r,n])=>[r,e(n,r)]))}export{p as mapObject,o as objectHas,u as objectSet};
