import{Ln as e,_n as t,dn as n,gn as r,hn as i}from"./style-QAnagFj5.js";import{O as a}from"./style-BqiJaO0R.js";import{i as o,s,t as c}from"./_baseClone-BWrurkfo.js";function l(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function u(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function d(e,t){return t.length<2?e:i(e,l(t,0,-1))}var f=Object.prototype.hasOwnProperty;function p(e,n){n=t(n,e);var i=-1,a=n.length;if(!a)return!0;for(var o=e==null||typeof e!=`object`&&typeof e!=`function`;++i<a;){var s=n[i];if(typeof s==`string`){if(s===`__proto__`&&!f.call(e,`__proto__`))return!1;if(s===`constructor`&&i+1<a&&typeof n[i+1]==`string`&&n[i+1]===`prototype`){if(o&&i===0)continue;return!1}}}var c=d(e,n);return c==null||delete c[r(u(n))]}function m(e){return n(e)?void 0:e}var h=1,g=2,_=4,v=a(function(n,r){var i={};if(n==null)return i;var a=!1;r=e(r,function(e){return e=t(e,n),a||=e.length>1,e}),s(n,o(n),i),a&&(i=c(i,h|g|_,m));for(var l=r.length;l--;)p(i,r[l]);return i});export{v as t};