import{aQ as m,aC as x,aR as I,aS as O,aT as o,aU as b,aV as d,aH as p,aW as w,aX as P,aY as M,aZ as A,a_ as E,a$ as F}from"./index-EOHikjcP.js";import{c as N}from"./_baseUniq-H04t_fXT.js";var g=1/0,R=17976931348623157e292;function T(n){if(!n)return n===0?n:0;if(n=m(n),n===g||n===-g){var a=n<0?-1:1;return a*R}return n===n?n:0}function $(n){var a=T(n),r=a%1;return a===a?r?a-r:a:0}var l=Object.prototype,y=l.hasOwnProperty,V=x(function(n,a){n=Object(n);var r=-1,i=a.length,t=i>2?a[2]:void 0;for(t&&I(a[0],a[1],t)&&(i=1);++r-1?t[s?a[e]:e]:void 0}}var H=Math.max;function L(n,a,r){var i=n==null?0:n.length;if(!i)return-1;var t=r==null?0:$(r);return t<0&&(t=H(i+t,0)),w(n,d(a),t)}var Z=C(L);function S(n,a){var r=-1,i=b(n)?Array(n.length):[];return N(n,function(t,s,e){i[++r]=a(t,s,e)}),i}function z(n,a){var r=P(n)?M:S;return r(n,d(a))}var X=Object.prototype,Y=X.hasOwnProperty;function _(n,a){return n!=null&&Y.call(n,a)}function B(n,a){return n!=null&&A(n,a,_)}function q(n,a){return n