const e=(t,n)=>{if(Array.isArray(n)){let r=Array.isArray(t)?t:[];return n.map((t,n)=>e(r[n],t))}if(typeof n==`object`&&n){let r={},i=typeof t==`object`&&t&&!Array.isArray(t)?t:{};for(let t of Object.keys(n)){let a=i[t],o=n[t];r[t]=e(a,o)}return r}return t};export{e};
//# sourceMappingURL=reduceObjectFormat.mjs.map