import{ah as I,ai as b,aj as d,ak as x,al as h}from"./index.e80c366d.js";var u=1/0,m=17976931348623157e292;function F(n){if(!n)return n===0?n:0;if(n=I(n),n===u||n===-u){var r=n<0?-1:1;return r*m}return n===n?n:0}function N(n){var r=F(n),t=r%1;return r===r?t?r-t:r:0}function g(n){return function(r,t,i){var a=Object(r);if(!b(r)){var e=d(t);r=x(r),t=function(s){return e(a[s],s,a)}}var f=n(r,t,i);return f>-1?a[e?r[f]:f]:void 0}}var M=Math.max;function j(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:N(t);return a<0&&(a=M(i+a,0)),h(n,d(r),a)}var k=g(j),A=k;export{F as a,j as b,g as c,A as f,N as t};
