import{bl as a,b9 as A,bm as I,ba as S}from"./index-F5308wi0.js";import{s as u}from"./_baseIteratee-7dBAmCi8.js";function g(){}var p=1/0,R=a&&1/u(new a([,-0]))[1]==p?function(f){return new a(f)}:g,m=200;function N(f,h,w){var o=-1,l=I,e=f.length,b=!0,r=[],n=r;if(e>=m){var t=h?null:R(f);if(t)return u(t);b=!1,l=S,n=new A}else n=h?[]:r;n:for(;++o<e;){var s=f[o],i=h?h(s):s;if(s=s!==0?s:0,b&&i===i){for(var c=n.length;c--;)if(n[c]===i)continue n;h&&n.push(i),r.push(s)}else l(n,i,w)||(n!==r&&n.push(i),r.push(s))}return r}export{N as b};