import{co as f,ck as u,cl as i,cq as s,cr as a}from"./index-BKKvzUDD.js";import{c,g as _,b as g}from"./_baseClone-B5RBzbh5.js";import{a as v}from"./index-GAnQrJsQ.js";function O(r,e,n){var o=-1,l=r.length;e<0&&(e=-e>l?0:l+e),n=n>l?l:n,n<0&&(n+=l),l=e>n?0:n-e>>>0,e>>>=0;for(var t=Array(l);++o<l;)t[o]=r[o+e];return t}function m(r){var e=r==null?0:r.length;return e?r[e-1]:void 0}function L(r,e){return e.length<2?r:f(r,O(e,0,-1))}var A=Object.prototype,P=A.hasOwnProperty;function w(r,e){e=u(e,r);var n=-1,o=e.length;if(!o)return!0;for(;++n<o;){var l=i(e[n]);if(l==="__proto__"&&!P.call(r,"__proto__")||(l==="constructor"||l==="prototype")&&n<o-1)return!1}var t=L(r,e);return t==null||delete t[i(m(e))]}function C(r){return s(r)?void 0:r}var E=1,b=2,h=4,G=v(function(r,e){var n={};if(r==null)return n;var o=!1;e=a(e,function(t){return t=u(t,r),o||(o=t.length>1),t}),c(r,_(r),n),o&&(n=g(n,E|b|h,C));for(var l=e.length;l--;)w(n,e[l]);return n});export{G as o};
