import{_ as f,x as u}from"./_Uint8Array-BGESiCQL.js";import{m as c}from"./isArrayLikeObject-BkJc8lDE.js";import{i as d,r as x}from"./get-6uJrSKbw.js";function g(t,i,_,a){if(!u(t))return t;i=d(i,t);for(var n=-1,v=i.length,m=v-1,o=t;o!=null&&++n<v;){var r=x(i[n]),e=_;if(r==="__proto__"||r==="constructor"||r==="prototype")return t;if(n!=m){var s=o[r];e=a?a(s,r,o):void 0,e===void 0&&(e=u(s)?s:f(i[n+1])?[]:{})}c(o,r,e),o=o[r]}return t}var p=g;export{p as t};
